SMW source code structure

From semantic-mediawiki.org

This page documents the amount of source code in Semantic MediaWiki. It is part of the Programmer's guide. Note that there is also an extended API documentation for SMW.

The below counts have been generated with a simple script that discards empty lines and comments for counting lines of code. Numbers in parentheses specify the lines of code that are not part of the SMW localisation (which contains almost 10k LOC that consist of messages). The figures are updated from time to time but may not reflect the most recent Git version of SMW.

PHPLoc for SMW 1.8 RC1

j@wd42:~/www/extensions/SemanticMediaWiki$ phploc .
phploc 1.7.4 by Sebastian Bergmann.

Directories:                                         29
Files:                                              215

Lines of Code (LOC):                              65574
  Cyclomatic Complexity / Lines of Code:           0.10
Comment Lines of Code (CLOC):                     23247
Non-Comment Lines of Code (NCLOC):                42327

Namespaces:                                           2
Interfaces:                                           2
Traits:                                               0
Classes:                                            229
  Abstract:                                          19 (8.30%)
  Concrete:                                         210 (91.70%)
  Average Class Length (NCLOC):                     134
Methods:                                           1699
  Scope:
    Non-Static:                                    1456 (85.70%)
    Static:                                         243 (14.30%)
  Visibility:
    Public:                                        1212 (71.34%)
    Non-Public:                                     487 (28.66%)
  Average Method Length (NCLOC):                     18
  Cyclomatic Complexity / Number of Methods:       3.46

Anonymous Functions:                                  2
Functions:                                           21

Constants:                                          147
  Global constants:                                  80
  Class constants:                                   67

A simple analysis of SMWs code over time can be found here.

Lines of Code as of April 8th 2012 (I40b4aa66):

/var/www/extensions/SemanticMediaWiki/ (35 dirs, 276 files, 61036 lines: 39091 code, 15942 comment, 6003 empty) 2.78 MiB                                                                                                                                
-- SemanticMediaWiki.hooks.php (264 lines: 99 code, 137 comment, 28 empty) 8.03 kiB                                                                                                                                                                     
-- SemanticMediaWiki.php (56 lines: 25 code, 20 comment, 11 empty) 2.14 kiB                                                                                                                                                                             
-- SMW_Settings.php (518 lines: 115 code, 351 comment, 52 empty) 21.21 kiB                                                                                                                                                                              
-- INSTALL (242 lines: 182 code, 0 comment, 60 empty) 11.06 kiB                                                                                                                                                                                         
-- COPYING (347 lines: 288 code, 0 comment, 59 empty) 18.16 kiB                                                                                                                                                                                         
-- RELEASE-NOTES (884 lines: 752 code, 1 comment, 131 empty) 42.97 kiB                                                                                                                                                                                  
-- README (77 lines: 55 code, 0 comment, 22 empty) 3.33 kiB                                                                                                                                                                                             
                                                                                                                                                                                                                                                        
    /var/www/extensions/SemanticMediaWiki/includes (11 dirs, 103 files, 29406 lines: 15487 code, 10348 comment, 3571 empty) 990.54 kiB                                                                                                                  
    -- SMW_QueryLanguage.php (127 lines: 53 code, 59 comment, 15 empty) 3.28 kiB                                                                                                                                                                        
    -- SMW_PageSchemas.php (237 lines: 179 code, 42 comment, 16 empty) 7.66 kiB                                                                                                                                                                         
    -- SMW_SemanticData.php (321 lines: 118 code, 168 comment, 35 empty) 8.88 kiB                                                                                                                                                                       
    -- SMW_QueryParser.php (630 lines: 411 code, 139 comment, 80 empty) 22.82 kiB                                                                                                                                                                       
    -- SMW_ParseData.php (521 lines: 263 code, 174 comment, 84 empty) 17.28 kiB                                                                                                                                                                         
    -- SMW_Infolink.php (480 lines: 222 code, 211 comment, 47 empty) 14.84 kiB                                                                                                                                                                          
    -- SMW_Factbox.php (212 lines: 119 code, 63 comment, 30 empty) 6.63 kiB                                                                                                                                                                             
    -- SMW_Settings.php (21 lines: 6 code, 11 comment, 4 empty) 665 bytes                                                                                                                                                                               
    -- SMW_QueryProcessor.php (560 lines: 315 code, 157 comment, 88 empty) 19.41 kiB                                                                                                                                                                    
    -- SMW_DISerializer.php (102 lines: 30 code, 60 comment, 12 empty) 2.66 kiB                                                                                                                                                                         
    -- SMW_Setup.php (471 lines: 312 code, 85 comment, 74 empty) 22.89 kiB                                                                                                                                                                              
    -- SMW_DataValueFactory.php (365 lines: 176 code, 153 comment, 36 empty) 13.41 kiB                                                                                                                                                                  
    -- SMW_Outputs.php (200 lines: 67 code, 113 comment, 20 empty) 7.05 kiB                                                                                                                                                                             
    -- SMW_CompatibilityHelpers.php (222 lines: 151 code, 65 comment, 6 empty) 8.25 kiB                                                                                                                                                                 
    -- SMW_PageLister.php (307 lines: 164 code, 98 comment, 45 empty) 9.51 kiB                                                                                                                                                                          
    -- SMW_ParserExtensions.php (181 lines: 112 code, 42 comment, 27 empty) 6.58 kiB                                                                                                                                                                    
    -- SMW_GlobalFunctions.php (327 lines: 156 code, 131 comment, 40 empty) 11.73 kiB                                                                                                                                                                   
                                                                                                                                                                                                                                                        
        /var/www/extensions/SemanticMediaWiki/includes/api (0 dirs, 4 files, 338 lines: 219 code, 67 comment, 52 empty) 7.71 kiB                                                                                                                        
        -- ApiSMWQuery.php (78 lines: 38 code, 29 comment, 11 empty) 1.82 kiB                                                                                                                                                                           
        -- ApiAsk.php (66 lines: 42 code, 12 comment, 12 empty) 1.43 kiB                                                                                                                                                                                
        -- ApiSMWInfo.php (100 lines: 72 code, 13 comment, 15 empty) 2.04 kiB                                                                                                                                                                           
        -- ApiAskArgs.php (94 lines: 67 code, 13 comment, 14 empty) 2.42 kiB                                                                                                                                                                            
                                                                                                                                                                                                                                                        
        /var/www/extensions/SemanticMediaWiki/includes/dataitems (0 dirs, 13 files, 2147 lines: 937 code, 982 comment, 228 empty) 59.51 kiB
        -- SMW_DataItem.php (180 lines: 54 code, 114 comment, 12 empty) 5.74 kiB
        -- SMW_DI_Blob.php (60 lines: 25 code, 25 comment, 10 empty) 982 bytes
        -- SMW_DI_String.php (69 lines: 26 code, 34 comment, 9 empty) 1.67 kiB
        -- SMW_DI_Bool.php (58 lines: 28 code, 21 comment, 9 empty) 1.08 kiB
        -- SMW_DI_Concept.php (107 lines: 46 code, 48 comment, 13 empty) 2.14 kiB
        -- SMW_DI_Error.php (55 lines: 22 code, 24 comment, 9 empty) 1.13 kiB
        -- SMW_DI_WikiPage.php (157 lines: 72 code, 68 comment, 17 empty) 4.02 kiB
        -- SMW_DI_Container.php (190 lines: 66 code, 107 comment, 17 empty) 5.92 kiB
        -- SMW_DI_GeoCoord.php (184 lines: 69 code, 91 comment, 24 empty) 3.79 kiB
        -- SMW_DI_Number.php (65 lines: 28 code, 27 comment, 10 empty) 1.24 kiB
        -- SMW_DI_Property.php (422 lines: 182 code, 196 comment, 44 empty) 13.43 kiB
        -- SMW_DI_Time.php (464 lines: 247 code, 180 comment, 37 empty) 15.04 kiB
        -- SMW_DI_URI.php (136 lines: 72 code, 47 comment, 17 empty) 3.36 kiB

        /var/www/extensions/SemanticMediaWiki/includes/sparql (0 dirs, 5 files, 1239 lines: 509 code, 630 comment, 100 empty) 43.53 kiB
        -- SMW_SparqlDatabase4Store.php (120 lines: 55 code, 56 comment, 9 empty) 4.78 kiB
        -- SMW_SparqlDatabaseVirtuoso.php (157 lines: 50 code, 95 comment, 12 empty) 5.83 kiB
        -- SMW_SparqlResultWrapper.php (204 lines: 69 code, 116 comment, 19 empty) 5.43 kiB
        -- SMW_SparqlDatabase.php (605 lines: 259 code, 301 comment, 45 empty) 22.93 kiB
        -- SMW_SparqlResultParser.php (153 lines: 76 code, 62 comment, 15 empty) 4.56 kiB

        /var/www/extensions/SemanticMediaWiki/includes/articlepages (0 dirs, 3 files, 384 lines: 190 code, 130 comment, 64 empty) 10.44 kiB
        -- SMW_OrderedListPage.php (121 lines: 36 code, 67 comment, 18 empty) 2.46 kiB
        -- SMW_ConceptPage.php (71 lines: 37 code, 22 comment, 12 empty) 2.15 kiB
        -- SMW_PropertyPage.php (192 lines: 117 code, 41 comment, 34 empty) 5.83 kiB

        /var/www/extensions/SemanticMediaWiki/includes/datavalues (0 dirs, 16 files, 4725 lines: 2556 code, 1717 comment, 452 empty) 162.21 kiB
        -- SMW_DV_PropertyList.php (141 lines: 94 code, 25 comment, 22 empty) 4.08 kiB
        -- SMW_DV_Temperature.php (119 lines: 86 code, 24 comment, 9 empty) 3.72 kiB
        -- SMW_DV_Bool.php (127 lines: 82 code, 30 comment, 15 empty) 3.81 kiB
        -- SMW_DV_Error.php (72 lines: 43 code, 18 comment, 11 empty) 1.73 kiB
        -- SMW_DV_Record.php (303 lines: 192 code, 69 comment, 42 empty) 8.5 kiB
        -- SMW_DV_WikiPage.php (520 lines: 245 code, 231 comment, 44 empty) 16.53 kiB
        -- SMW_DV_Time.php (848 lines: 473 code, 321 comment, 54 empty) 36.47 kiB
        -- SMW_DV_Quantity.php (193 lines: 78 code, 100 comment, 15 empty) 7.58 kiB
        -- SMW_DV_Types.php (189 lines: 120 code, 48 comment, 21 empty) 5.85 kiB
        -- SMW_DV_URI.php (293 lines: 205 code, 57 comment, 31 empty) 10.0 kiB
        -- SMW_DV_Import.php (176 lines: 107 code, 48 comment, 21 empty) 5.48 kiB
        -- SMW_DV_Concept.php (190 lines: 145 code, 28 comment, 17 empty) 7.3 kiB
        -- SMW_DV_Number.php (327 lines: 177 code, 126 comment, 24 empty) 11.25 kiB
        -- SMW_DV_Property.php (347 lines: 162 code, 153 comment, 32 empty) 11.24 kiB
        -- SMW_DataValue.php (741 lines: 260 code, 401 comment, 80 empty) 24.0 kiB
        -- SMW_DV_String.php (139 lines: 87 code, 38 comment, 14 empty) 4.68 kiB

        /var/www/extensions/SemanticMediaWiki/includes/params (0 dirs, 1 files, 148 lines: 47 code, 80 comment, 21 empty) 3.34 kiB
        -- SMW_ParamFormat.php (148 lines: 47 code, 80 comment, 21 empty) 3.35 kiB

        /var/www/extensions/SemanticMediaWiki/includes/storage (0 dirs, 15 files, 8843 lines: 4895 code, 2750 comment, 1198 empty) 314.92 kiB
        -- SMW_SQLHelpers.php (474 lines: 285 code, 114 comment, 75 empty) 16.58 kiB
        -- SMW_Description.php (814 lines: 475 code, 196 comment, 143 empty) 20.7 kiB
        -- SMW_SQLStore2.php (2533 lines: 1528 code, 622 comment, 383 empty) 97.61 kiB
        -- SMW_Query.php (197 lines: 107 code, 64 comment, 26 empty) 6.21 kiB
        -- SMW_SqlStubSemanticData.php (198 lines: 84 code, 93 comment, 21 empty) 5.8 kiB
        -- SMW_ResultArray.php (304 lines: 124 code, 145 comment, 35 empty) 8.75 kiB
        -- SMW_SQLStore2Table.php (96 lines: 18 code, 68 comment, 10 empty) 2.69 kiB
        -- SMW_SQLStoreLight.php (654 lines: 470 code, 129 comment, 55 empty) 26.04 kiB
        -- SMW_SparqlStoreQueryEngine.php (977 lines: 547 code, 315 comment, 115 empty) 36.54 kiB
        -- SMW_PrintRequest.php (273 lines: 158 code, 81 comment, 34 empty) 8.44 kiB
        -- SMW_QueryResult.php (251 lines: 58 code, 158 comment, 35 empty) 6.45 kiB
        -- SMW_SparqlStore.php (302 lines: 177 code, 92 comment, 33 empty) 11.78 kiB
        -- SMW_SqlStore2IdCache.php (101 lines: 4 code, 84 comment, 13 empty) 2.69 kiB
        -- SMW_SQLStore2_Queries.php (1169 lines: 737 code, 267 comment, 165 empty) 48.1 kiB
        -- SMW_Store.php (500 lines: 123 code, 322 comment, 55 empty) 16.52 kiB

        /var/www/extensions/SemanticMediaWiki/includes/parserhooks (0 dirs, 9 files, 1004 lines: 521 code, 338 comment, 145 empty) 26.13 kiB
        -- SMW_SMWDoc.php (237 lines: 113 code, 91 comment, 33 empty) 5.59 kiB
        -- SMW_Info.php (104 lines: 38 code, 54 comment, 12 empty) 2.12 kiB
        -- SMW_Declare.php (87 lines: 51 code, 25 comment, 11 empty) 2.23 kiB
        -- SMW_Subobject.php (80 lines: 43 code, 22 comment, 15 empty) 2.36 kiB
        -- SMW_Concept.php (90 lines: 46 code, 29 comment, 15 empty) 3.19 kiB
        -- SMW_Set.php (41 lines: 14 code, 21 comment, 6 empty) 862 bytes
        -- SMW_Show.php (50 lines: 22 code, 20 comment, 8 empty) 1.09 kiB
        -- SMW_Ask.php (50 lines: 22 code, 20 comment, 8 empty) 1.04 kiB
        -- SMW_SetRecurringEvent.php (265 lines: 172 code, 56 comment, 37 empty) 7.67 kiB

        /var/www/extensions/SemanticMediaWiki/includes/jobs (0 dirs, 2 files, 168 lines: 72 code, 73 comment, 23 empty) 5.21 kiB
        -- SMW_UpdateJob.php (85 lines: 41 code, 31 comment, 13 empty) 2.43 kiB
        -- SMW_RefreshJob.php (83 lines: 31 code, 42 comment, 10 empty) 2.78 kiB

        /var/www/extensions/SemanticMediaWiki/includes/export (0 dirs, 7 files, 2588 lines: 1418 code, 945 comment, 225 empty) 96.99 kiB
        -- SMW_Serializer_RDFXML.php (267 lines: 156 code, 87 comment, 24 empty) 10.83 kiB
        -- SMW_Exporter.php (660 lines: 422 code, 192 comment, 46 empty) 26.75 kiB
        -- SMW_Serializer_Turtle.php (248 lines: 167 code, 58 comment, 23 empty) 8.89 kiB
        -- SMW_ExportController.php (598 lines: 349 code, 182 comment, 67 empty) 24.69 kiB
        -- SMW_Exp_Data.php (255 lines: 131 code, 106 comment, 18 empty) 8.53 kiB
        -- SMW_Serializer.php (318 lines: 128 code, 168 comment, 22 empty) 11.39 kiB
        -- SMW_Exp_Element.php (242 lines: 65 code, 152 comment, 25 empty) 5.9 kiB

        /var/www/extensions/SemanticMediaWiki/includes/queryprinters (0 dirs, 11 files, 2538 lines: 1269 code, 865 comment, 404 empty) 77.02 kiB
        -- SMW_QP_Embedded.php (136 lines: 87 code, 30 comment, 19 empty) 4.06 kiB
        -- SMW_QP_Table.php (212 lines: 44 code, 127 comment, 41 empty) 5.5 kiB
        -- SMW_QP_List.php (325 lines: 220 code, 42 comment, 63 empty) 9.97 kiB
        -- SMW_QP_JSONlink.php (159 lines: 110 code, 21 comment, 28 empty) 5.59 kiB
        -- SMW_QueryPrinter.php (568 lines: 218 code, 281 comment, 69 empty) 18.83 kiB
        -- SMW_QP_RDF.php (126 lines: 77 code, 27 comment, 22 empty) 3.55 kiB
        -- SMW_QP_DSV.php (198 lines: 86 code, 79 comment, 33 empty) 5.2 kiB
        -- SMW_QP_Aggregatable.php (225 lines: 85 code, 113 comment, 27 empty) 6.05 kiB
        -- SMW_QP_CSV.php (123 lines: 32 code, 63 comment, 28 empty) 3.1 kiB
        -- SMW_QP_RSSlink.php (254 lines: 182 code, 45 comment, 27 empty) 8.65 kiB
        -- SMW_QP_Category.php (212 lines: 128 code, 37 comment, 47 empty) 6.53 kiB

    /var/www/extensions/SemanticMediaWiki/tests (3 dirs, 30 files, 2323 lines: 1714 code, 278 comment, 331 empty) 72.45 kiB

        /var/www/extensions/SemanticMediaWiki/tests/selenium (2 dirs, 30 files, 2323 lines: 1714 code, 278 comment, 331 empty) 72.45 kiB

            /var/www/extensions/SemanticMediaWiki/tests/selenium/suites (1 dirs, 30 files, 2323 lines: 1714 code, 278 comment, 331 empty) 72.46 kiB
            -- SMWSeleniumTestSuite.php (55 lines: 40 code, 14 comment, 1 empty) 3.77 kiB
            -- TemplateTestCase.php (35 lines: 15 code, 17 comment, 3 empty) 510 bytes

                /var/www/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite (0 dirs, 28 files, 2233 lines: 1659 code, 247 comment, 327 empty) 68.19 kiB
                -- SelectPagesByPropertyAnnotationByWildcard.php (82 lines: 68 code, 4 comment, 10 empty) 2.54 kiB
                -- MakePropertySubpropertyOfAnotherOneTestCase.php (99 lines: 84 code, 4 comment, 11 empty) 3.29 kiB
                -- EmbedValueWithShowParserFunction.php (65 lines: 52 code, 4 comment, 9 empty) 2.06 kiB
                -- ViewValuesOfPropertyOnSpecialPage.php (120 lines: 85 code, 17 comment, 18 empty) 3.53 kiB
                -- DefineAllowedValuesTestCase.php (87 lines: 71 code, 4 comment, 12 empty) 2.65 kiB
                -- BuildChainOfPropertiesInAQuery.php (104 lines: 92 code, 4 comment, 8 empty) 3.77 kiB
                -- RefreshInlineQuery.php (66 lines: 55 code, 4 comment, 7 empty) 2.1 kiB
                -- PropertiesListedOnSpecialPageTestCase.php (106 lines: 84 code, 4 comment, 18 empty) 3.27 kiB
                -- BuildInTypeNumber.php (100 lines: 71 code, 17 comment, 12 empty) 2.9 kiB
                -- AnnotatePageWithProperty.php (192 lines: 125 code, 22 comment, 45 empty) 6.79 kiB
                -- BuiltInTypeString.php (70 lines: 44 code, 17 comment, 9 empty) 2.02 kiB
                -- WantedPropertiesOnSpecialPageTestCase.php (63 lines: 50 code, 4 comment, 9 empty) 1.94 kiB
                -- ShowFactboxTestCase.php (40 lines: 30 code, 4 comment, 6 empty) 1.07 kiB
                -- RefreshLinkForEveryPage.php (38 lines: 24 code, 4 comment, 10 empty) 806 bytes
                -- FactboxLinksToSearchByProperty.php (61 lines: 37 code, 17 comment, 7 empty) 1.93 kiB
                -- SearchByPropertyWithNumericValueTestCase.php (107 lines: 85 code, 4 comment, 18 empty) 3.35 kiB
                -- SpecialAskProvidesGUIForQueries.php (60 lines: 29 code, 17 comment, 14 empty) 1.22 kiB
                -- FactboxLinksToSpecialBrowse.php (57 lines: 33 code, 17 comment, 7 empty) 1.61 kiB
                -- FactboxShowsProperties.php (61 lines: 33 code, 17 comment, 11 empty) 1.62 kiB
                -- CreatePropertyPageTestCase.php (87 lines: 69 code, 4 comment, 14 empty) 2.62 kiB
                -- DefineTypeOfPropertyTestCase.php (77 lines: 62 code, 4 comment, 11 empty) 2.3 kiB
                -- UnusedPropertiesOnSpecialPageTestCase.php (65 lines: 52 code, 4 comment, 9 empty) 2.0 kiB
                -- SearchByPropertyWithStringValueTestCase.php (71 lines: 53 code, 4 comment, 14 empty) 2.07 kiB
                -- ChangeSeparatorForTypeNumber.php (113 lines: 88 code, 17 comment, 8 empty) 3.45 kiB
                -- PropertyTypePageIsDefaultTestCase.php (69 lines: 56 code, 4 comment, 9 empty) 2.14 kiB
                -- AvoidPropertyCreationTestCase.php (40 lines: 30 code, 4 comment, 6 empty) 1.16 kiB
                -- SelectPagesByPropertyValue.php (82 lines: 68 code, 4 comment, 10 empty) 2.53 kiB
                -- CopyQuerySyntaxFromSpecialAsk.php (51 lines: 29 code, 17 comment, 5 empty) 1.49 kiB

    /var/www/extensions/SemanticMediaWiki/languages (0 dirs, 23 files, 16106 lines: 14010 code, 1599 comment, 497 empty) 1.1 MiB
    -- SMW_LanguageDe.php (99 lines: 63 code, 24 comment, 12 empty) 3.2 kiB
    -- SMW_LanguageRu.php (93 lines: 64 code, 16 comment, 13 empty) 3.69 kiB
    -- SMW_LanguageNo.php (98 lines: 69 code, 16 comment, 13 empty) 3.23 kiB
    -- SMW_Magic.php (219 lines: 91 code, 106 comment, 22 empty) 7.58 kiB
    -- SMW_LanguageZh_cn.php (91 lines: 60 code, 19 comment, 12 empty) 3.49 kiB
    -- SMW_Language.php (221 lines: 132 code, 68 comment, 21 empty) 7.14 kiB
    -- SMW_LanguageZh_tw.php (94 lines: 60 code, 17 comment, 17 empty) 3.35 kiB
    -- SMW_LanguageNl.php (87 lines: 58 code, 18 comment, 11 empty) 2.82 kiB
    -- SMW_Aliases.php (607 lines: 245 code, 309 comment, 53 empty) 21.63 kiB
    -- SMW_LanguageEs.php (88 lines: 58 code, 16 comment, 14 empty) 3.28 kiB
    -- SMW_LanguageSk.php (81 lines: 54 code, 16 comment, 11 empty) 2.8 kiB
    -- SMW_LanguageDe_formal.php (24 lines: 5 code, 16 comment, 3 empty) 579 bytes
    -- SMW_LanguageFr.php (88 lines: 58 code, 16 comment, 14 empty) 2.94 kiB
    -- SMW_LanguagePl.php (107 lines: 58 code, 35 comment, 14 empty) 3.6 kiB
    -- SMW_LanguageFi.php (100 lines: 74 code, 16 comment, 10 empty) 2.63 kiB
    -- SMW_LanguageArz.php (90 lines: 58 code, 16 comment, 16 empty) 3.28 kiB
    -- SMW_LanguageEn.php (97 lines: 65 code, 16 comment, 16 empty) 3.0 kiB
    -- SMW_LanguageAr.php (90 lines: 58 code, 17 comment, 15 empty) 3.28 kiB
    -- SMW_LanguagePt.php (88 lines: 58 code, 16 comment, 14 empty) 3.1 kiB
    -- SMW_LanguageIt.php (87 lines: 59 code, 17 comment, 11 empty) 3.08 kiB
    -- SMW_Messages.php (13378 lines: 12445 code, 775 comment, 158 empty) 1.0 MiB
    -- SMW_LanguageId.php (88 lines: 57 code, 18 comment, 13 empty) 2.84 kiB
    -- SMW_LanguageHe.php (91 lines: 61 code, 16 comment, 14 empty) 3.12 kiB

    /var/www/extensions/SemanticMediaWiki/specials (7 dirs, 16 files, 5616 lines: 3393 code, 1461 comment, 762 empty) 175.08 kiB

        /var/www/extensions/SemanticMediaWiki/specials/SearchTriple (0 dirs, 3 files, 1064 lines: 614 code, 287 comment, 163 empty) 33.79 kiB
        -- SMW_SpecialPageProperty.php (161 lines: 110 code, 29 comment, 22 empty) 4.95 kiB
        -- SMW_SpecialSearchByProperty.php (448 lines: 268 code, 103 comment, 77 empty) 13.78 kiB
        -- SMW_SpecialBrowse.php (455 lines: 236 code, 155 comment, 64 empty) 15.05 kiB

        /var/www/extensions/SemanticMediaWiki/specials/AskSpecial (0 dirs, 4 files, 3588 lines: 2285 code, 887 comment, 416 empty) 112.94 kiB
        -- SMW_SpecialQueryCreator.php (265 lines: 173 code, 66 comment, 26 empty) 8.23 kiB
        -- SMW_QueryUIHelper.php (589 lines: 266 code, 267 comment, 56 empty) 16.76 kiB
        -- SMW_QueryUI.php (1915 lines: 1384 code, 335 comment, 196 empty) 61.58 kiB
        -- SMW_SpecialAsk.php (819 lines: 462 code, 219 comment, 138 empty) 26.37 kiB

        /var/www/extensions/SemanticMediaWiki/specials/Export (0 dirs, 1 files, 186 lines: 115 code, 31 comment, 40 empty) 5.7 kiB
        -- SMW_SpecialOWLExport.php (186 lines: 115 code, 31 comment, 40 empty) 5.71 kiB

        /var/www/extensions/SemanticMediaWiki/specials/SMWAdmin (0 dirs, 1 files, 155 lines: 53 code, 86 comment, 16 empty) 6.48 kiB
        -- SMW_SpecialSMWAdmin.php (155 lines: 53 code, 86 comment, 16 empty) 6.48 kiB

        /var/www/extensions/SemanticMediaWiki/specials/QueryPages (0 dirs, 5 files, 524 lines: 271 code, 143 comment, 110 empty) 13.76 kiB
        -- SMW_QueryPage.php (120 lines: 60 code, 40 comment, 20 empty) 2.89 kiB
        -- SMW_SpecialUnusedProperties.php (96 lines: 33 code, 41 comment, 22 empty) 2.28 kiB
        -- SMW_SpecialWantedProperties.php (88 lines: 42 code, 26 comment, 20 empty) 2.1 kiB
        -- SMW_SpecialProperties.php (121 lines: 74 code, 21 comment, 26 empty) 3.27 kiB
        -- SMW_SpecialTypes.php (99 lines: 62 code, 15 comment, 22 empty) 3.22 kiB

        /var/www/extensions/SemanticMediaWiki/specials/Statistics (0 dirs, 1 files, 45 lines: 24 code, 11 comment, 10 empty) 1.04 kiB
        -- SMW_SpecialStatistics.php (45 lines: 24 code, 11 comment, 10 empty) 1.04 kiB

        /var/www/extensions/SemanticMediaWiki/specials/URIResolver (0 dirs, 1 files, 54 lines: 31 code, 16 comment, 7 empty) 1.38 kiB
        -- SMW_SpecialURIResolver.php (54 lines: 31 code, 16 comment, 7 empty) 1.38 kiB

    /var/www/extensions/SemanticMediaWiki/resources (0 dirs, 2 files, 45 lines: 27 code, 7 comment, 11 empty) 942 bytes
    -- ext.smw.compat.js (0 lines: 0 code, 0 comment, 0 empty) 0 bytes
    -- ext.smw.js (45 lines: 27 code, 7 comment, 11 empty) 943 bytes

    /var/www/extensions/SemanticMediaWiki/skins (5 dirs, 78 files, 2557 lines: 1490 code, 700 comment, 367 empty) 130.54 kiB
    -- SMW_tooltip.js (527 lines: 331 code, 126 comment, 70 empty) 16.4 kiB
    -- LICENSE (32 lines: 26 code, 0 comment, 6 empty) 1.58 kiB
    -- SMW_custom.css (358 lines: 139 code, 159 comment, 60 empty) 6.78 kiB

        /var/www/extensions/SemanticMediaWiki/skins/jquery-ui (2 dirs, 29 files, 1222 lines: 656 code, 378 comment, 188 empty) 67.21 kiB

            /var/www/extensions/SemanticMediaWiki/skins/jquery-ui/base (1 dirs, 29 files, 1222 lines: 656 code, 378 comment, 188 empty) 67.21 kiB
            -- demos.css (334 lines: 84 code, 183 comment, 67 empty) 14.0 kiB
            -- jquery.ui.tabs.css (11 lines: 2 code, 9 comment, 0 empty) 1.17 kiB
            -- jquery.ui.dialog.css (13 lines: 11 code, 2 comment, 0 empty) 1.15 kiB
            -- jquery.ui.progressbar.css (4 lines: 2 code, 2 comment, 0 empty) 169 bytes
            -- jquery.ui.base.css (11 lines: 11 code, 0 comment, 0 empty) 427 bytes
            -- jquery.ui.all.css (2 lines: 2 code, 0 comment, 0 empty) 61 bytes
            -- jquery.ui.button.css (35 lines: 9 code, 16 comment, 10 empty) 1.89 kiB
            -- jquery.ui.selectable.css (3 lines: 1 code, 2 comment, 0 empty) 101 bytes
            -- jquery.ui.theme.css (279 lines: 163 code, 100 comment, 16 empty) 19.17 kiB
            -- jquery.ui.datepicker.css (61 lines: 33 code, 25 comment, 3 empty) 3.75 kiB
            -- jquery.ui.resizable.css (13 lines: 11 code, 2 comment, 0 empty) 985 bytes
            -- jquery.ui.autocomplete.css (39 lines: 31 code, 6 comment, 2 empty) 833 bytes
            -- jquery.ui.core.css (37 lines: 7 code, 21 comment, 9 empty) 1.32 kiB
            -- jquery.ui.slider.css (17 lines: 13 code, 2 comment, 2 empty) 957 bytes
            -- jquery.ui.accordion.css (12 lines: 4 code, 8 comment, 0 empty) 887 bytes

                /var/www/extensions/SemanticMediaWiki/skins/jquery-ui/base/images (0 dirs, 14 files, 351 lines: 272 code, 0 comment, 79 empty) 20.43 kiB
                -- ui-bg_glass_65_ffffff_1x400.png (4 lines: 4 code, 0 comment, 0 empty) 105 bytes
                -- ui-icons_888888_256x240.png (28 lines: 28 code, 0 comment, 0 empty) 3.62 kiB
                -- ui-bg_glass_95_fef1ec_1x400.png (6 lines: 6 code, 0 comment, 0 empty) 119 bytes
                -- ui-bg_highlight-soft_75_cccccc_1x100.png (3 lines: 3 code, 0 comment, 0 empty) 101 bytes
                -- ui-bg_glass_75_dadada_1x400.png (4 lines: 4 code, 0 comment, 0 empty) 111 bytes
                -- ui-icons_454545_256x240.png (28 lines: 28 code, 0 comment, 0 empty) 3.62 kiB
                -- ui-bg_glass_75_e6e6e6_1x400.png (5 lines: 5 code, 0 comment, 0 empty) 110 bytes
                -- ui-anim_basic_16x16.gif (20 lines: 20 code, 0 comment, 0 empty) 1.52 kiB
                -- ui-icons_2e83ff_256x240.png (28 lines: 28 code, 0 comment, 0 empty) 3.62 kiB
                -- ui-bg_glass_55_fbf9ee_1x400.png (5 lines: 5 code, 0 comment, 0 empty) 120 bytes
                -- ui-bg_flat_75_ffffff_40x100.png (3 lines: 3 code, 0 comment, 0 empty) 94 bytes
                -- ui-bg_flat_0_aaaaaa_40x100.png (3 lines: 3 code, 0 comment, 0 empty) 94 bytes
                -- ui-icons_222222_256x240.png (28 lines: 28 code, 0 comment, 0 empty) 3.62 kiB
                -- ui-icons_cd0a0a_256x240.png (186 lines: 107 code, 0 comment, 79 empty) 3.62 kiB

        /var/www/extensions/SemanticMediaWiki/skins/elastic (0 dirs, 1 files, 161 lines: 92 code, 37 comment, 32 empty) 4.9 kiB
        -- jquery.elastic.source.js (161 lines: 92 code, 37 comment, 32 empty) 4.9 kiB

        /var/www/extensions/SemanticMediaWiki/skins/images (0 dirs, 45 files, 257 lines: 246 code, 0 comment, 11 empty) 33.68 kiB
        -- dull-green-circle.png (3 lines: 3 code, 0 comment, 0 empty) 506 bytes
        -- message-bottom-right.png (11 lines: 11 code, 0 comment, 0 empty) 1.54 kiB
        -- browse_iconsmall.png (3 lines: 3 code, 0 comment, 0 empty) 437 bytes
        -- world.png (7 lines: 7 code, 0 comment, 0 empty) 892 bytes
        -- bubble-bottom-arrow.png (6 lines: 6 code, 0 comment, 0 empty) 957 bytes
        -- message-top-right.png (6 lines: 6 code, 0 comment, 0 empty) 1.06 kiB
        -- sort_none.gif (6 lines: 4 code, 0 comment, 2 empty) 877 bytes
        -- bubble-bottom-right.png (8 lines: 8 code, 0 comment, 0 empty) 803 bytes
        -- dark-green-circle.png (5 lines: 5 code, 0 comment, 0 empty) 493 bytes
        -- message-top-left.png (5 lines: 5 code, 0 comment, 0 empty) 755 bytes
        -- dark-blue-circle.png (3 lines: 3 code, 0 comment, 0 empty) 506 bytes
        -- bubble-top-left.png (4 lines: 4 code, 0 comment, 0 empty) 403 bytes
        -- bubble-left-arrow.png (9 lines: 9 code, 0 comment, 0 empty) 763 bytes
        -- gray-circle.png (3 lines: 3 code, 0 comment, 0 empty) 483 bytes
        -- copyright-vertical.png (6 lines: 6 code, 0 comment, 0 empty) 679 bytes
        -- sort_down.gif (6 lines: 4 code, 0 comment, 2 empty) 879 bytes
        -- dull-red-circle.png (3 lines: 3 code, 0 comment, 0 empty) 506 bytes
        -- green-circle.png (5 lines: 5 code, 0 comment, 0 empty) 506 bytes
        -- progress-running.gif (15 lines: 15 code, 0 comment, 0 empty) 1002 bytes
        -- search_icon.png (3 lines: 3 code, 0 comment, 0 empty) 1023 bytes
        -- bubble-bottom.png (4 lines: 4 code, 0 comment, 0 empty) 309 bytes
        -- message-left.png (5 lines: 5 code, 0 comment, 0 empty) 248 bytes
        -- blue-circle.png (3 lines: 3 code, 0 comment, 0 empty) 506 bytes
        -- bubble-right-arrow.png (6 lines: 6 code, 0 comment, 0 empty) 915 bytes
        -- browse_icon.png (4 lines: 4 code, 0 comment, 0 empty) 484 bytes
        -- bubble-left.png (3 lines: 3 code, 0 comment, 0 empty) 191 bytes
        -- message-right.png (4 lines: 4 code, 0 comment, 0 empty) 379 bytes
        -- bubble-bottom-left.png (11 lines: 9 code, 0 comment, 2 empty) 653 bytes
        -- copyright.png (6 lines: 6 code, 0 comment, 0 empty) 684 bytes
        -- bubble-top-arrow.png (4 lines: 4 code, 0 comment, 0 empty) 715 bytes
        -- searchgray_iconsmall.png (3 lines: 3 code, 0 comment, 0 empty) 544 bytes
        -- sort_up.gif (6 lines: 4 code, 0 comment, 2 empty) 881 bytes
        -- bubble-top.png (3 lines: 3 code, 0 comment, 0 empty) 220 bytes
        -- close-button.png (3 lines: 3 code, 0 comment, 0 empty) 583 bytes
        -- bubble-right.png (3 lines: 3 code, 0 comment, 0 empty) 226 bytes
        -- warning.png (4 lines: 4 code, 0 comment, 0 empty) 526 bytes
        -- rdf_flyer.18.gif (1 lines: 1 code, 0 comment, 0 empty) 239 bytes
        -- smw_button.png (23 lines: 23 code, 0 comment, 0 empty) 4.5 kiB
        -- top-bubble.png (12 lines: 10 code, 0 comment, 2 empty) 2.56 kiB
        -- dark-red-circle.png (6 lines: 5 code, 0 comment, 1 empty) 503 bytes
        -- info.png (8 lines: 8 code, 0 comment, 0 empty) 640 bytes
        -- red-circle.png (3 lines: 3 code, 0 comment, 0 empty) 506 bytes
        -- dull-blue-circle.png (5 lines: 5 code, 0 comment, 0 empty) 503 bytes
        -- message-bottom-left.png (4 lines: 4 code, 0 comment, 0 empty) 1.04 kiB
        -- bubble-top-right.png (6 lines: 6 code, 0 comment, 0 empty) 607 bytes

    /var/www/extensions/SemanticMediaWiki/maintenance (0 dirs, 6 files, 690 lines: 474 code, 116 comment, 100 empty) 24.75 kiB
    -- SMW_dumpRDF.php (80 lines: 44 code, 28 comment, 8 empty) 2.64 kiB
    -- SMW_Postgres_Schema.sql (95 lines: 82 code, 0 comment, 13 empty) 3.2 kiB
    -- SMW_setup.php (105 lines: 50 code, 38 comment, 17 empty) 3.75 kiB
    -- SMW_refreshData.php (178 lines: 119 code, 38 comment, 21 empty) 7.05 kiB
    -- SMW_conceptCache.php (205 lines: 159 code, 12 comment, 34 empty) 6.85 kiB
    -- README (27 lines: 20 code, 0 comment, 7 empty) 1.26 kiB

    /var/www/extensions/SemanticMediaWiki/libs (1 dirs, 11 files, 1905 lines: 980 code, 924 comment, 1 empty) 227.84 kiB
    -- jquery-1.4.2.min.js (471 lines: 450 code, 20 comment, 1 empty) 97.92 kiB
    -- README (3 lines: 3 code, 0 comment, 0 empty) 154 bytes

        /var/www/extensions/SemanticMediaWiki/libs/jquery-ui (0 dirs, 9 files, 1431 lines: 527 code, 904 comment, 0 empty) 129.77 kiB
        -- jquery-ui-i18n.js (1176 lines: 369 code, 807 comment, 0 empty) 49.95 kiB
        -- jquery-ui.dialog.min.js (41 lines: 23 code, 18 comment, 0 empty) 11.38 kiB
        -- jquery.ui.core.min.js (15 lines: 6 code, 9 comment, 0 empty) 2.96 kiB
        -- jquery.ui.position.min.js (15 lines: 6 code, 9 comment, 0 empty) 3.07 kiB
        -- jquery.ui.autocomplete.min.js (29 lines: 15 code, 14 comment, 0 empty) 7.58 kiB
        -- jquery.ui.datepicker.min.js (80 lines: 68 code, 12 comment, 0 empty) 34.32 kiB
        -- jquery.ui.widget.min.js (15 lines: 6 code, 9 comment, 0 empty) 2.93 kiB
        -- jquery.ui.button.min.js (24 lines: 11 code, 13 comment, 0 empty) 6.23 kiB
        -- jquery-ui.tabs.min.js (36 lines: 23 code, 13 comment, 0 empty) 11.36 kiB

Lines of Code for revision 67086 (May 2010):

SemanticMediaWiki: 26863 (15335)
     | SMW_Settings.php: 101
     | SemanticMediaWiki.php: 2
  maintenance: 396
     | SMW_conceptCache.php: 171
     | SMW_dumpRDF.php: 45
     | SMW_refreshData.php: 117
     | SMW_setup.php: 63
  libs: 470
     | jquery-1.4.2.min.js: 470
  skins: 518
     | SMW_sorttable.js: 136
     | SMW_tooltip.js: 382
    images: 0
  languages: 11528
     | SMW_Aliases.php: 400
     | SMW_Language.php: 92
     | SMW_LanguageAr.php: 56
     | SMW_LanguageArz.php: 56
     | SMW_LanguageDe.php: 57
     | SMW_LanguageDe_formal.php: 6
     | SMW_LanguageEn.php: 58
     | SMW_LanguageEs.php: 56
     | SMW_LanguageFr.php: 56
     | SMW_LanguageHe.php: 59
     | SMW_LanguageIt.php: 57
     | SMW_LanguageNl.php: 52
     | SMW_LanguageNo.php: 66
     | SMW_LanguagePl.php: 56
     | SMW_LanguagePt.php: 56
     | SMW_LanguageRu.php: 58
     | SMW_LanguageSk.php: 52
     | SMW_LanguageZh_cn.php: 58
     | SMW_LanguageZh_tw.php: 58
     | SMW_Magic.php: 95
     | SMW_Messages.php: 10024
  includes: 11830
     | SMW_DV_Bool.php: 106
     | SMW_DV_Concept.php: 181
     | SMW_DV_Container.php: 49
     | SMW_DV_Error.php: 44
     | SMW_DV_Import.php: 120
     | SMW_DV_Linear.php: 151
     | SMW_DV_Number.php: 191
     | SMW_DV_Property.php: 256
     | SMW_DV_Record.php: 174
     | SMW_DV_SimpleWikiPage.php: 27
     | SMW_DV_String.php: 100
     | SMW_DV_Temperature.php: 97
     | SMW_DV_Time.php: 594
     | SMW_DV_TypeList.php: 80
     | SMW_DV_Types.php: 93
     | SMW_DV_URI.php: 202
     | SMW_DV_WikiPage.php: 255
     | SMW_DataValue.php: 272
     | SMW_DataValueFactory.php: 112
     | SMW_Factbox.php: 112
     | SMW_GlobalFunctions.php: 133
     | SMW_Infolink.php: 188
     | SMW_Outputs.php: 51
     | SMW_ParseData.php: 212
     | SMW_ParserExtensions.php: 381
     | SMW_QP_Auto.php: 19
     | SMW_QP_CSV.php: 79
     | SMW_QP_Category.php: 125
     | SMW_QP_Embedded.php: 87
     | SMW_QP_JSONlink.php: 136
     | SMW_QP_List.php: 161
     | SMW_QP_RSSlink.php: 192
     | SMW_QP_Table.php: 67
     | SMW_QueryParser.php: 409
     | SMW_QueryPrinter.php: 210
     | SMW_QueryProcessor.php: 239
     | SMW_Record_Descriptions.php: 80
     | SMW_RefreshTab.php: 23
     | SMW_SemanticData.php: 141
     | SMW_Settings.php: 2
     | SMW_Setup.php: 279
     | SMW_SetupLight.php: 193
    articlepages: 415
     | SMW_ConceptPage.php: 79
     | SMW_OrderedListPage.php: 145
     | SMW_PropertyPage.php: 120
     | SMW_TypePage.php: 71
    storage: 4296
     | SMW_Description.php: 495
     | SMW_PrintRequest.php: 140
     | SMW_Query.php: 109
     | SMW_QueryResult.php: 184
     | SMW_RAPStore2.php: 146
     | SMW_SQLHelpers.php: 243
     | SMW_SQLStore2.php: 1494
     | SMW_SQLStore2Table.php: 18
     | SMW_SQLStore2_Queries.php: 731
     | SMW_SQLStoreLight.php: 473
     | SMW_Store.php: 50
     | SMW_TestStore.php: 213
    export: 422
     | SMW_Exp_Data.php: 124
     | SMW_Exp_Element.php: 73
     | SMW_Exporter.php: 225
    jobs: 74
     | SMW_RefreshJob.php: 32
     | SMW_UpdateJob.php: 42
  specials: 2018
    Export: 579
     | SMW_SpecialOWLExport.php: 579
    Statistics: 28
     | SMW_SpecialStatistics.php: 28
    QueryPages: 304
     | SMW_QueryPage.php: 51
     | SMW_SpecialProperties.php: 70
     | SMW_SpecialTypes.php: 83
     | SMW_SpecialUnusedProperties.php: 53
     | SMW_SpecialWantedProperties.php: 47
    URIResolver: 28
     | SMW_SpecialURIResolver.php: 28
    AskSpecial: 452
     | SMW_SpecialAsk.php: 452
    SearchTriple: 516
     | SMW_SpecialBrowse.php: 220
     | SMW_SpecialPageProperty.php: 85
     | SMW_SpecialSearchByProperty.php: 211
    SMWAdmin: 111
     | SMW_SpecialSMWAdmin.php: 111