Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.48ms] Passed 4 tests
Analyzing server-side resources used by sliderCat
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 33.72 ▼5.17 |
Dashboard /wp-admin | 3.37 ▲0.03 | 45.29 ▼15.31 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 45.88 ▼1.17 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 81.33 ▼4.00 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.76 ▼1.43 |
Add New Slide /wp-admin/post-new.php?post_type=post_type_slider | 3.42 | 46.31 |
General Settings /wp-admin/edit.php?post_type=post_type_slider&page=slidercat-settings | 3.24 | 29.54 |
Slideshows /wp-admin/edit-tags.php?taxonomy=slidercat&post_type=post_type_slider | 3.29 | 32.06 |
All Slides /wp-admin/edit.php?post_type=post_type_slider | 3.34 | 33.18 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
slidercat_options |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by sliderCat
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲100 | 14.39 ▲0.02 | 1.56 ▲0.06 | 40.85 ▼0.32 |
Dashboard /wp-admin | 2,237 ▲62 | 5.60 ▼0.05 | 83.19 ▼17.05 | 36.16 ▼6.62 |
Posts /wp-admin/edit.php | 2,139 ▲42 | 2.09 ▲0.11 | 37.09 ▼0.29 | 32.47 ▼3.68 |
Add New Post /wp-admin/post-new.php | 1,558 ▲27 | 23.18 ▼0.02 | 675.61 ▲39.71 | 52.81 ▼5.53 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.21 ▲0.02 | 94.04 ▼25.42 | 43.17 ▼8.25 |
Add New Slide /wp-admin/post-new.php?post_type=post_type_slider | 4,812 | 8.20 | 176.14 | 73.39 |
General Settings /wp-admin/edit.php?post_type=post_type_slider&page=slidercat-settings | 1,071 | 2.13 | 22.17 | 31.17 |
Slideshows /wp-admin/edit-tags.php?taxonomy=slidercat&post_type=post_type_slider | 1,305 | 2.14 | 29.23 | 31.18 |
All Slides /wp-admin/edit.php?post_type=post_type_slider | 1,111 | 1.97 | 31.31 | 29.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- slidercat_options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=post_type_slider&page=slidercat-settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/edit.php?post_type=post_type_slider&page=slidercat-settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
Almost there! Just fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/slidercat/slidercat-admin.php
- > /wp-content/plugins/slidercat/slidercat.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
slidercat/slidercat.php Passed 13 tests
Analyzing the main PHP file in "sliderCat" version 1.0
79 characters long description:
Multiple shortcode slideshows with bunch of animated text effects and styles...
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
Success! There were no dangerous files found in this plugin1,805 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 194 | 29 | 1,620 |
CSS | 2 | 25 | 30 | 103 |
JavaScript | 4 | 11 | 87 | 82 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 90.00 |
▷ Minimum class complexity | 59.00 |
▷ Maximum class complexity | 121.00 |
Average method complexity | 6.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.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 | 34 | |
▷ Static methods | 7 | 20.59% |
▷ Public methods | 34 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/bg_cont_white.png | 0.17KB | 0.09KB | ▼ 46.93% |
images/bg_cont_black.png | 0.17KB | 0.09KB | ▼ 46.93% |
images/bg_direction_nav.png | 0.57KB | 0.37KB | ▼ 35.40% |
images/bg_play_pause.png | 0.80KB | 0.52KB | ▼ 35.08% |