Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/category-post-urls/category-post-urls.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; Category_Post_Urls has a deprecated constructor
Server metrics [RAM: ▼1.91MB] [CPU: ▼54.56ms] Passed 4 tests
Server-side resources used by Category Post URLs
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 5.12 ▼41.38 |
Dashboard /wp-admin | 2.10 ▼1.21 | 6.74 ▼46.99 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 5.35 ▼44.42 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 7.48 ▼85.46 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 6.83 ▼29.08 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
category_children |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Category Post URLs: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.32 ▼0.91 | 2.12 ▲0.15 | 42.94 ▼0.42 |
Dashboard /wp-admin | 2,206 ▲21 | 5.80 ▲0.91 | 104.02 ▼2.04 | 40.18 ▲2.65 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.02 ▲0.03 | 38.12 ▲0.46 | 31.96 ▼4.38 |
Add New Post /wp-admin/post-new.php | 1,527 ▲8 | 22.47 ▼0.70 | 696.28 ▲77.64 | 60.94 ▼7.30 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▼0.02 | 96.97 ▼3.61 | 46.34 ▲1.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/category-post-urls/category-post-urls.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; Category_Post_Urls has a deprecated constructor
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- category_children
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/category-post-urls/category-post-urls.php:201
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 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
4 plugin tags: rewrite rules, custom permalink, category and subcategory permalink, category post urls
category-post-urls/category-post-urls.php 92% from 13 tests
The main PHP script in "Category Post URLs" version 0.01 is automatically included on every request by WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 215 characters long)
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
Everything looks great! No dangerous files found in this plugin130 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 48 | 23 | 130 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin