10% list-site-contributors

Code Review | List Site Contributors

WordPress plugin List Site Contributors scored10%from 54 tests.

About plugin

  • Plugin page: list-site-contrib...
  • Plugin version: 1.1.8
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-4.3
  • WordPress version: 6.3.1
  • First release: Sep 20, 2012
  • Latest release: Feb 21, 2016
  • Number of updates: 41
  • Update frequency: every 30.5 days
  • Top authors: mallsop (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

50+ active /4,873 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Notice in wp-content/plugins/list-site-contributors/list-site-contributors.php+63
    Undefined variable: lsctribexc

Server metrics [RAM: ▼1.75MB] [CPU: ▼58.97ms] Passed 4 tests

A check of server-side resources used by List Site Contributors
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.23 ▼1.235.35 ▼39.42
Dashboard /wp-admin2.25 ▼1.057.41 ▼50.46
Posts /wp-admin/edit.php2.25 ▼1.108.33 ▼41.22
Add New Post /wp-admin/post-new.php2.25 ▼3.636.84 ▼104.78
Media Library /wp-admin/upload.php2.25 ▼0.986.95 ▼34.17
Options /wp-admin/admin.php?page=list-site-contributors-sub2.258.23
LSC /wp-admin/admin.php?page=list-site-contributors2.256.16

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 12 new options
New WordPress options
lsctribimg
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
widget_recent-posts
lsctrib
lsctriball
lsctribmax
lsctribexc
lsctriblb
...

Browser metrics Passed 4 tests

Checking browser requirements for List Site Contributors
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,822 ▲6114.28 ▼0.481.72 ▲0.0542.81 ▼4.93
Dashboard /wp-admin2,219 ▲425.49 ▼0.0483.50 ▼13.2745.13 ▲3.56
Posts /wp-admin/edit.php2,127 ▲302.03 ▲0.0540.48 ▲2.3735.01 ▼3.56
Add New Post /wp-admin/post-new.php1,548 ▲2023.82 ▲0.85689.15 ▼4.2259.62 ▲12.29
Media Library /wp-admin/upload.php1,427 ▲304.23 ▼0.11107.12 ▼13.8647.12 ▼1.43
Options /wp-admin/admin.php?page=list-site-contributors-sub8792.0123.8826.94
LSC /wp-admin/admin.php?page=list-site-contributors8042.0224.0824.14

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Uninstall procedure had uncaught errors
    • > Notice in wp-content/plugins/list-site-contributors/list-site-contributors.php+63
    Undefined variable: lsctribexc
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=list-site-contributors
    • > Notice in wp-content/plugins/list-site-contributors/list-site-contributors.php+63
    Undefined variable: lsctribexc

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/list-site-contributors/list-site-contributors.php:46

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: contributors, plugins, authors

list-site-contributors/list-site-contributors.php Passed 13 tests

The entry point to "List Site Contributors" version 1.1.8 is a PHP file that has certain tags in its header comment area
71 characters long description:
List site contributors and authors - Shortcode: [listsitecontributors].

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected479 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP25090457
CSS15722

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.23
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants7100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin