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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.23 ▼1.23 | 5.35 ▼39.42 |
Dashboard /wp-admin | 2.25 ▼1.05 | 7.41 ▼50.46 |
Posts /wp-admin/edit.php | 2.25 ▼1.10 | 8.33 ▼41.22 |
Add New Post /wp-admin/post-new.php | 2.25 ▼3.63 | 6.84 ▼104.78 |
Media Library /wp-admin/upload.php | 2.25 ▼0.98 | 6.95 ▼34.17 |
Options /wp-admin/admin.php?page=list-site-contributors-sub | 2.25 | 8.23 |
LSC /wp-admin/admin.php?page=list-site-contributors | 2.25 | 6.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.28 ▼0.48 | 1.72 ▲0.05 | 42.81 ▼4.93 |
Dashboard /wp-admin | 2,219 ▲42 | 5.49 ▼0.04 | 83.50 ▼13.27 | 45.13 ▲3.56 |
Posts /wp-admin/edit.php | 2,127 ▲30 | 2.03 ▲0.05 | 40.48 ▲2.37 | 35.01 ▼3.56 |
Add New Post /wp-admin/post-new.php | 1,548 ▲20 | 23.82 ▲0.85 | 689.15 ▼4.22 | 59.62 ▲12.29 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.23 ▼0.11 | 107.12 ▼13.86 | 47.12 ▼1.43 |
Options /wp-admin/admin.php?page=list-site-contributors-sub | 879 | 2.01 | 23.88 | 26.94 |
LSC /wp-admin/admin.php?page=list-site-contributors | 804 | 2.02 | 24.08 | 24.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
- > PHP Fatal error
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 50 | 90 | 457 |
CSS | 1 | 5 | 7 | 22 |
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 code | 0.23 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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