************* Module cli W0221:107:YumBaseCli.doRepoSetup: Arguments number differs from overridden method W0104:187:YumBaseCli.getOptionsConfig: Statement seems to have no effect ************* Module output W1001: 79:YumTerm: Use of "property" on an old style class W1010:1113:YumOutput.interrupt_callback: Exception doesn't inherit from standard "Exception" class E0203:1111:YumOutput.interrupt_callback: Access to member '_last_interrupt' before its definition line 1116 W1001:1227:YumCliRPMCallBack: Use of "property" on an old style class ************* Module shell W0221:107:YumShell.completenames: Arguments number differs from overridden method W0104:278:YumShell.do_repo: Statement seems to have no effect ************* Module utils W0104: 76:YumUtilBase.doUtilConfigSetup: Statement seems to have no effect ************* Module yumcommands W0107:107:checkShellArg: Unnecessary pass statement W0104:502:MakeCacheCommand.doCommand: Statement seems to have no effect ************* Module yum-updatesd W0703:364:UpdatesDaemon.refreshUpdates: Catch "Exception" W0703:383:UpdatesDaemon.populateUpdateMetadata: Catch "Exception" W0703:452:UpdatesDaemon.updatesCheck: Catch "Exception" W0703:491:UpdatesDaemon.updatesCheck: Catch "Exception" ************* Module yum.comps W0101:521:Comps.add: Unreachable code ************* Module yum.depsolve W0631:384:Depsolve._requiringFromInstalled: Using possibly undefined loop variable 'inst_po' ************* Module yum.i18n E1103:463: Instance of 'NullTranslations' has no 'nugettext' member (but some types could not be inferred) ************* Module yum W0104:448:YumBase._getRepos: Statement seems to have no effect ************* Module yum.mdparser W0107:203:test: Unnecessary pass statement ************* Module yum.metalink W1001: 93:MetaLinkFile: Use of "property" on an old style class W1001: 96:MetaLinkFile: Use of "property" on an old style class W1001: 99:MetaLinkFile: Use of "property" on an old style class W1001:102:MetaLinkFile: Use of "property" on an old style class ************* Module yum.packageSack W0141:482:MetaSack._computeAggregateListResult: Used builtin function 'apply' W0141:497:MetaSack._computeAggregateDictResult: Used builtin function 'apply' ************* Module yum.packages E0203:680:YumAvailablePackage.verifyLocalPkg: Access to member '_verify_local_pkg_cache' before its definition line 697 ************* Module yum.rpmsack W0221:249:RPMDBPackageSack.simplePkgList: Arguments number differs from overridden method W0221:254:RPMDBPackageSack.returnNewestByNameArch: Arguments number differs from overridden method W0221:269:RPMDBPackageSack.returnNewestByName: Arguments number differs from overridden method ************* Module yum.sqlitesack W0311:230: Bad indentation. Found 12 spaces, expected 8 E0203:178:YumAvailablePackageSqlite._loadFiles: Access to member '_files' before its definition line 200 W0221:529:YumSqlitePackageSack.searchFiles: Arguments number differs from overridden method W0222:886:YumSqlitePackageSack.searchNames: Signature differs from overridden method W0631:903:YumSqlitePackageSack.searchNames: Using possibly undefined loop variable 'names' W0631:909:YumSqlitePackageSack.searchNames: Using possibly undefined loop variable 'names' W0107:1020:YumSqlitePackageSack.db2class: Unnecessary pass statement ************* Module yum.yumRepo E0102:348:YumRepository.__cmp__: method already defined line 284 W0221:903:YumRepository.setup: Arguments number differs from overridden method W0703:1540:YumRepository._readMirrorList: Catch "Exception" ************* Module rpmUtils.oldUtils E0602: 38:checkRpmMD5: Undefined variable 'ts' E0602: 41:checkRpmMD5: Undefined variable 'ts' E0602: 47:checkRpmMD5: Undefined variable 'ts' E0602: 61:checkSig: Undefined variable 'ts' E0602: 64:checkSig: Undefined variable 'ts' E0602:147:openrpmdb: Undefined variable 'conf' E0602:274:RPM_Work.__init__: Undefined variable 'ts' E0602:277:RPM_Work.__init__: Undefined variable 'ts' E0602:289:Rpm_Ts_Work.__init__: Undefined variable 'conf' E0602:290:Rpm_Ts_Work.__init__: Undefined variable 'conf' E0602:291:Rpm_Ts_Work.__init__: Undefined variable 'conf' ************* Module rpmUtils.updates W0631:473:Updates.doUpdates: Using possibly undefined loop variable 'n' W0631:474:Updates.doUpdates: Using possibly undefined loop variable 'n' W0631:475:Updates.doUpdates: Using possibly undefined loop variable 'n' Report ====== 15779 statements analysed. Duplication ----------- +-------------------------+------+---------+-----------+ | |now |previous |difference | +=========================+======+=========+===========+ |nb duplicated lines |160 |160 |= | +-------------------------+------+---------+-----------+ |percent duplicated lines |0.596 |0.596 |= | +-------------------------+------+---------+-----------+ Raw metrics ----------- +----------+-------+------+---------+-----------+ |type |number |% |previous |difference | +==========+=======+======+=========+===========+ |code |17692 |75.92 |17692 |= | +----------+-------+------+---------+-----------+ |docstring |2556 |10.97 |2556 |= | +----------+-------+------+---------+-----------+ |comment |1826 |7.84 |1826 |= | +----------+-------+------+---------+-----------+ |empty |1230 |5.28 |1230 |= | +----------+-------+------+---------+-----------+ External dependencies --------------------- :: \-packageSack (yum) \-Errors (yum) \-depsolve (yum) \-comps (yum) \-rpmsack (yum) \-parser (yum) \-misc (yum) \-logginglevels (yum) \-callbacks (yum) \-transactioninfo (yum) \-plugins (yum) \-yumRepo (yum) \-packages (yum) \-config (yum) \-repos (yum) sqlite (yum.sqlutils) yumcommands (cli) cli (yumcommands,yummain) cElementTree (yum.comps,yum.mdparser,yum.metalink,yum.repoMDObject,yum.update_md) urlgrabber (yum,yum.parser) \-progress (output,yum.callbacks,yum,yum.metalink) \-grabber (output,yum,yum.yumRepo,rpmUtils.oldUtils) \-mirror (yum.yumRepo) sqlitecachec (yum.yumRepo) iniparse (yum.config) \-compat (yum.config,yum,yum.plugins) callback (yum-updatesd) shell (cli) yum (callback,cli,output,utils,yumcommands,yummain,yum-updatesd,yum.depsolve,yum.plugins,yum.rpmtrans) \-packageSack (output,yum.depsolve,yum.repos,yum.rpmsack,yum.transactioninfo,yum.yumRepo) \-repoMDObject (yum.yumRepo) \-packages (cli,yum.depsolve,yum.packageSack,yum.rpmsack,yum.sqlitesack,yum.transactioninfo) \-sqlitesack (yum.transactioninfo,yum.yumRepo) \-update_md (yum-updatesd) \-repos (yum.yumRepo) \-parser (yum-updatesd,yum.config,yum.plugins,yum.yumRepo) \-misc (cli,output,yummain,yum.comps,yum.depsolve,yum.packageSack,yum.packages,yum.repoMDObject,yum.repos,yum.rpmsack,yum.rpmtrans,yum.sqlitesack,yum.update_md,yum.yumRepo) \-pgpmsg (yum.misc) \-logginglevels (cli,output,shell,yumcommands,yummain,yum.depsolve,yum.plugins,yum.yumRepo) \-Errors (cli,shell,yumcommands,yummain,yum-updatesd,yum.comps,yum.config,yum.depsolve,yum.metalink,yum.misc,yum.packageSack,yum.packages,yum.parser,yum.plugins,yum.repoMDObject,yum.repos,yum.rpmsack,yum.sqlitesack,yum.transactioninfo,yum.yumRepo) \-yumRepo (yum.sqlitesack,yum.update_md) \-metalink (yum.yumRepo) \-sqlutils (yum.sqlitesack) \-plugins (cli,utils,yummain) \-i18n (cli,output,yumcommands,yummain,yum.comps,yum.Errors,yum,yum.misc,yum.plugins,yum.rpmsack,yum.sqlitesack,yum.update_md) \-rpmtrans (cli,output,yum) \-config (yum-updatesd,yum.plugins,yum.yumRepo) \-constants (yum.rpmsack,yum.sqlitesack) output (cli) gobject (yum-updatesd) rpm (callback,cli,output,yum.config,yum.depsolve,yum,yum.packages,yum.rpmsack,yum.rpmtrans,rpmUtils.miscutils,rpmUtils.oldUtils,rpmUtils.transaction) dbus (yum-updatesd) \-glib (yum-updatesd) \-service (yum-updatesd) gpgme (yum.misc) \-editutil (yum.misc) Statistics by type ------------------ +---------+-------+-----------+-----------+------------+---------+ |type |number |old number |difference |%documented |%badname | +=========+=======+===========+===========+============+=========+ |module |41 |41 |= |43.90 |12.20 | +---------+-------+-----------+-----------+------------+---------+ |class |186 |186 |= |50.54 |8.60 | +---------+-------+-----------+-----------+------------+---------+ |method |1284 |1284 |= |51.87 |0.93 | +---------+-------+-----------+-----------+------------+---------+ |function |216 |216 |= |50.46 |1.85 | +---------+-------+-----------+-----------+------------+---------+ Messages by category -------------------- +-----------+-------+---------+-----------+ |type |number |previous |difference | +===========+=======+=========+===========+ |convention |0 |0 |= | +-----------+-------+---------+-----------+ |refactor |0 |0 |= | +-----------+-------+---------+-----------+ |warning |38 |38 |= | +-----------+-------+---------+-----------+ |error |16 |16 |= | +-----------+-------+---------+-----------+ % errors / warnings by module ----------------------------- +------------------+------+--------+---------+-----------+ |module |error |warning |refactor |convention | +==================+======+========+=========+===========+ |rpmUtils.oldUtils |68.75 |0.00 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |yum.sqlitesack |6.25 |15.79 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |output |6.25 |7.89 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |yum.yumRepo |6.25 |5.26 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |yum.packages |6.25 |0.00 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |yum.i18n |6.25 |0.00 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |yum.metalink |0.00 |10.53 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |yum-updatesd |0.00 |10.53 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |yum.rpmsack |0.00 |7.89 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |rpmUtils.updates |0.00 |7.89 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |yumcommands |0.00 |5.26 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |yum.packageSack |0.00 |5.26 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |shell |0.00 |5.26 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |cli |0.00 |5.26 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |yum.mdparser |0.00 |2.63 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |yum.depsolve |0.00 |2.63 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |yum.comps |0.00 |2.63 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |yum.__init__ |0.00 |2.63 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ |utils |0.00 |2.63 |0.00 |0.00 | +------------------+------+--------+---------+-----------+ Messages -------- +-----------+-----------+ |message id |occurences | +===========+===========+ |E0602 |11 | +-----------+-----------+ |W0221 |7 | +-----------+-----------+ |W1001 |6 | +-----------+-----------+ |W0631 |6 | +-----------+-----------+ |W0703 |5 | +-----------+-----------+ |W0104 |5 | +-----------+-----------+ |W0107 |3 | +-----------+-----------+ |E0203 |3 | +-----------+-----------+ |W0141 |2 | +-----------+-----------+ |W1010 |1 | +-----------+-----------+ |W0311 |1 | +-----------+-----------+ |W0222 |1 | +-----------+-----------+ |W0101 |1 | +-----------+-----------+ |E1103 |1 | +-----------+-----------+ |E0102 |1 | +-----------+-----------+ Global evaluation ----------------- Your code has been rated at 9.93/10 (previous run: 9.93/10)