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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.69ms] Passed 4 tests
Analyzing server-side resources used by Category Posts Slider Pro
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 43.15 ▲0.26 |
Dashboard /wp-admin | 3.33 ▼0.01 | 43.12 ▼17.63 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.81 ▼1.15 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 77.50 ▼12.25 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 36.70 ▲0.46 |
Plugin Settings /wp-admin/admin.php?page=category_posts_slider_pro | 3.59 | 29.85 |
Add New /wp-admin/admin.php?page=category_posts_slider_pro-new | 3.28 | 33.06 |
Server storage [IO: ▲5.79MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 30 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_cpsp_slides |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
category_posts_slider_pro_options |
db_upgraded |
cpsp_db_version |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Category Posts Slider Pro: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲172 | 13.69 ▼0.97 | 10.51 ▲8.59 | 38.01 ▼9.11 |
Dashboard /wp-admin | 2,229 ▲41 | 5.82 ▲0.94 | 99.22 ▼18.53 | 74.20 ▲31.60 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.02 ▼0.09 | 37.66 ▲0.41 | 30.93 ▼1.22 |
Add New Post /wp-admin/post-new.php | 1,699 ▲185 | 24.43 ▲6.96 | 694.17 ▲15.66 | 48.47 ▼7.96 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.13 ▼0.16 | 93.80 ▼20.11 | 79.73 ▲32.16 |
Plugin Settings /wp-admin/admin.php?page=category_posts_slider_pro | 2,019 | 3.12 | 66.40 | 44.51 |
Add New /wp-admin/admin.php?page=category_posts_slider_pro-new | 956 | 2.09 | 32.86 | 40.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=category_posts_slider_pro-new
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/category-posts-slider-pro/js/category_posts_js.js?ver=1.0.0:10:20)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=category_posts_slider_pro-new
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (15 tag instead of maximum 10)
category-posts-slider-pro/category-posts-slider-pro.php Passed 13 tests
The primary PHP file in "Category Posts Slider Pro" version 1.1 is used by WordPress to initiate all plugin functionality
74 characters long description:
Fully Responsive and Mobile Friendly way to display category posts slider.
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
Everything looks great! No dangerous files found in this plugin8,999 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 996 | 22 | 5,210 |
JavaScript | 5 | 71 | 52 | 2,566 |
PHP | 4 | 148 | 154 | 1,223 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
12 PNG files occupy 5.41MB with 3.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 641.60KB | 129.43KB | ▼ 79.83% |
screenshot-2.png | 129.57KB | 48.04KB | ▼ 62.93% |
screenshot-7.png | 1,049.96KB | 209.92KB | ▼ 80.01% |
screenshot-4.png | 1,154.92KB | 238.56KB | ▼ 79.34% |
images/slideshow_icon.png | 1.37KB | 1.40KB | 0.00% |