84% bbpress-top-contributors

Code Review | bbPress Top Contributors

WordPress plugin bbPress Top Contributors scored84%from 54 tests.

About plugin

  • Plugin page: bbpress-top-contr...
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.1-4.0
  • WordPress version: 6.3.1
  • First release: Nov 24, 2014
  • Latest release: Nov 24, 2014
  • Number of updates: 3
  • Update frequency: every 1.0 days
  • Top authors: eduardo-leoni (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,138 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.00MB] [CPU: ▼6.05ms] Passed 4 tests

An overview of server-side resources used by bbPress Top Contributors
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0134.70 ▼3.50
Dashboard /wp-admin3.31 ▼0.0344.52 ▼17.77
Posts /wp-admin/edit.php3.36 ▲0.0146.54 ▲1.71
Add New Post /wp-admin/post-new.php5.89 ▲0.0191.31 ▼3.15
Media Library /wp-admin/upload.php3.23 ▲0.0136.26 ▲0.23

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for bbPress Top Contributors
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲5413.25 ▼1.001.73 ▼0.0142.08 ▲1.09
Dashboard /wp-admin2,206 ▲185.85 ▼0.03108.21 ▲0.1543.13 ▲3.49
Posts /wp-admin/edit.php2,089 ▲32.04 ▲0.0243.26 ▲7.9436.42 ▼0.14
Add New Post /wp-admin/post-new.php1,539 ▲1918.50 ▼4.52600.76 ▼87.3353.70 ▼3.81
Media Library /wp-admin/upload.php1,388 ▼04.22 ▲0.03110.57 ▼7.2340.97 ▼7.80

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/bbpress-top-contributors/bbpress-top-contributors.php:60

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: topics, popular, authors, contributors, bbpress

bbpress-top-contributors/bbpress-top-contributors.php Passed 13 tests

The principal PHP file in "bbPress Top Contributors" v. 0.1 is loaded by WordPress automatically on each request
51 characters long description:
Shortcode to show the authors that have posted more

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected34 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.08
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions2100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin