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
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/simple-seo-categories-posts/simplecategoryposts.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; simpleCategoryPosts has a deprecated constructor
Server metrics [RAM: ▼1.77MB] [CPU: ▼54.33ms] Passed 4 tests
A check of server-side resources used by Simple Category Posts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.22 ▼1.24 | 5.81 ▼34.95 |
Dashboard /wp-admin | 2.24 ▼1.10 | 6.08 ▼53.64 |
Posts /wp-admin/edit.php | 2.24 ▼1.11 | 5.91 ▼38.19 |
Add New Post /wp-admin/post-new.php | 2.24 ▼3.64 | 6.60 ▼90.52 |
Media Library /wp-admin/upload.php | 2.24 ▼0.98 | 5.25 ▼29.05 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_simplecategorypostswidget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Category Posts
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.29 ▼1.02 | 1.67 ▼0.27 | 42.09 ▼1.98 |
Dashboard /wp-admin | 2,206 ▲15 | 5.88 ▲0.06 | 106.78 ▼0.45 | 38.32 ▼4.45 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.03 | 37.55 ▲1.75 | 33.61 ▼4.88 |
Add New Post /wp-admin/post-new.php | 1,548 ▲29 | 21.12 ▼1.90 | 633.41 ▼13.40 | 57.08 ▼5.90 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.28 ▲0.07 | 99.73 ▲1.78 | 43.67 ▲2.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/simple-seo-categories-posts/simplecategoryposts.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; simpleCategoryPosts has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_simplecategorypostswidget
- can_compress_scripts
- theysaidso_admin_options
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/simple-seo-categories-posts/simplecategoryposts.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== simple-seo-categories-posts ===
)
simple-seo-categories-posts/simplecategoryposts.php 92% from 13 tests
Analyzing the main PHP file in "Simple Category Posts" version 1.0.4
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 ("simple-seo-categories-posts.php" instead of "simplecategoryposts.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,286 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 142 | 123 | 1,286 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 130.00 |
▷ Minimum class complexity | 52.00 |
▷ Maximum class complexity | 208.00 |
Average method complexity | 7.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 3 | 7.69% |
▷ Public methods | 9 | 23.08% |
▷ Protected methods | 30 | 76.92% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 49 | |
▷ Global constants | 49 | 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
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 10.80KB | 9.97KB | ▼ 7.70% |