Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.96MB] [CPU: ▼181.18ms] Passed 4 tests
Analyzing server-side resources used by Super Post
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.67 ▼0.17 | 13.10 ▼20.97 |
Dashboard /wp-admin | 2.69 ▼0.37 | 13.25 ▼28.29 |
Posts /wp-admin/edit.php | 2.69 ▼0.42 | 13.25 ▼32.75 |
Add New Post /wp-admin/post-new.php | 2.69 ▼2.74 | 11.50 ▼641.82 |
Media Library /wp-admin/upload.php | 2.69 ▼0.31 | 13.06 ▼21.86 |
Super Post /wp-admin/options-general.php?page=super_post | 2.69 | 11.94 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 30 new files
Database: no new tables, 2 new options
New WordPress options |
---|
super_post |
widget_super-post |
Browser metrics Passed 4 tests
Super Post: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,869 ▲273 | 16.36 ▲0.41 | 17.08 ▲6.72 | 46.32 ▲0.11 |
Dashboard /wp-admin | 2,980 ▲49 | 5.91 ▼0.04 | 132.93 ▼34.77 | 100.40 ▼9.65 |
Posts /wp-admin/edit.php | 2,764 ▲25 | 2.72 ▼0.01 | 68.58 ▲4.84 | 100.77 ▼1.87 |
Add New Post /wp-admin/post-new.php | 2,112 ▲614 | 18.76 ▼0.03 | 369.90 ▼2.24 | 129.72 ▲14.67 |
Media Library /wp-admin/upload.php | 1,814 ▲7 | 5.03 ▼0.03 | 153.91 ▲2.11 | 123.11 ▼8.81 |
Super Post /wp-admin/options-general.php?page=super_post | 1,982 | 5.97 | 117.72 | 137.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5304
The called constructor method for WP_Widget in Super_Post_Widget_Class is deprecated since version 4.3.0! Use __construct() instead.
- This plugin does not fully uninstall, leaving 2 options in the database
- widget_super-post
- super_post
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=super_post
- > User deprecated in wp-includes/functions.php+5304
The called constructor method for WP_Widget in Super_Post_Widget_Class is deprecated since version 4.3.0! Use __construct() instead.
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
The following issues need your attention
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/super-post/premium.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/super-post/utility.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/super-post/super-post.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/super-post/shortcode.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/super-post/settings.php:588
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/super-post/widget.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=super_post
- > Network (severe)
wp-content/plugins/super-post/js/jquery.settings.js?ver=5.8.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=super_post
- > Network (severe)
wp-content/plugins/super-post/css/widget.css - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=super_post
- > Console-api (warning) in unknown
/wp-includes/js/jquery/jquery.min.js?ver=3.6.0 1:31592 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at Object.init (/wp-content/plugins/super-post/js/jquery.dialog.js?ver=5.8.1:12:23)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/super-post/js/jquery.dialog.js?ver=5.8.1:71:40)\n at e (/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30038)\n at t (/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30340)" undefined
- > GET request to /wp-admin/options-general.php?page=super_post
- > Javascript (severe) in unknown
/wp-includes/js/jquery/jquery.min.js?ver=3.6.0 1:31702 Uncaught TypeError: $(...).live is not a function
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
Attributes that require attention:
- Tags: Please delete some tags, you are using 45 tag instead of maximum 10
super-post/super-post.php 92% from 13 tests
The entry point to "Super Post" version 1.1.3 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 235 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin3,623 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 433 | 491 | 1,964 |
CSS | 3 | 32 | 34 | 914 |
PO File | 1 | 155 | 203 | 396 |
JavaScript | 2 | 80 | 30 | 349 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 48.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 5.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 46 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
11 compressed PNG files occupy 0.11MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/comments.png | 0.43KB | 0.54KB | 0.00% |
img/stars-half.png | 0.54KB | 0.47KB | ▼ 13.49% |
img/thumbnail.png | 2.57KB | 2.45KB | ▼ 4.67% |
img/settings.png | 50.86KB | 32.36KB | ▼ 36.39% |
img/stars-none.png | 0.49KB | 0.41KB | ▼ 16.00% |