Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.83ms] Passed 4 tests
An overview of server-side resources used by Simple Category List
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 45.00 ▲5.48 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.85 ▼0.20 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.87 ▼0.51 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.29 ▼13.30 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.52 ▲2.68 |
Category List /wp-admin/options-general.php?page=nzp-setting-admin | 3.18 | 29.97 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Category List
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.26 ▼0.96 | 4.53 ▲2.54 | 44.03 ▼3.43 |
Dashboard /wp-admin | 2,210 ▲22 | 5.80 ▼0.08 | 111.94 ▲4.31 | 43.66 ▲1.58 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.02 ▼0.16 | 35.22 ▲0.09 | 34.52 ▲0.60 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.19 ▲4.68 | 669.48 ▲32.20 | 52.84 ▼5.21 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.25 ▲0.04 | 96.32 ▼2.88 | 39.90 ▼3.16 |
Category List /wp-admin/options-general.php?page=nzp-setting-admin | 795 | 2.06 | 25.01 | 37.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=nzp-setting-admin
- > Notice in wp-content/plugins/categorylist/category_list.php+182
Trying to access array offset on value of type bool
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #1, #2, #3 in categorylist/assets to your readme.txt
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
categorylist/category_list.php 85% from 13 tests
Analyzing the main PHP file in "Simple Category List" version 1.3
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("categorylist.php" instead of "category_list.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin233 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 52 | 158 |
CSS | 1 | 10 | 0 | 75 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin