Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.66ms] Passed 4 tests
This is a short check of server-side resources used by home slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 45.54 ▲5.42 |
Dashboard /wp-admin | 3.39 ▲0.05 | 46.63 ▼9.38 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 45.80 ▲1.67 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 81.61 ▼22.27 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.28 ▼0.67 |
Animation /wp-admin/edit.php?post_type=home_slide&page=Animation | 3.28 | 34.51 |
Controls /wp-admin/edit.php?post_type=home_slide&page=Controls | 3.28 | 34.08 |
New Slide /wp-admin/post-new.php?post_type=home_slide | 3.43 | 44.33 |
Behaviour /wp-admin/edit.php?post_type=home_slide&page=Behaviour | 3.28 | 30.69 |
Captions /wp-admin/edit.php?post_type=home_slide&page=Captions | 3.28 | 30.02 |
Setting /wp-admin/edit.php?post_type=home_slide&page=setting | 3.28 | 31.71 |
Slides /wp-admin/edit.php?post_type=home_slide | 3.36 | 32.92 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by home slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲211 | 13.73 ▼0.56 | 10.39 ▲8.75 | 41.15 ▲1.29 |
Dashboard /wp-admin | 2,241 ▲64 | 5.58 ▼0.08 | 94.43 ▲7.86 | 74.66 ▲31.84 |
Posts /wp-admin/edit.php | 2,149 ▲49 | 1.99 ▼0.04 | 35.70 ▼0.60 | 30.49 ▼1.27 |
Add New Post /wp-admin/post-new.php | 1,718 ▲192 | 22.08 ▼1.03 | 721.39 ▲47.05 | 64.28 ▲13.97 |
Media Library /wp-admin/upload.php | 1,446 ▲49 | 4.18 ▼0.08 | 94.08 ▼4.74 | 70.31 ▲23.76 |
Animation /wp-admin/edit.php?post_type=home_slide&page=Animation | 1,260 | 2.00 | 23.23 | 25.15 |
Controls /wp-admin/edit.php?post_type=home_slide&page=Controls | 1,142 | 2.01 | 23.76 | 27.24 |
New Slide /wp-admin/post-new.php?post_type=home_slide | 2,223 | 7.60 | 160.97 | 115.11 |
Behaviour /wp-admin/edit.php?post_type=home_slide&page=Behaviour | 969 | 2.30 | 22.70 | 24.68 |
Captions /wp-admin/edit.php?post_type=home_slide&page=Captions | 927 | 2.00 | 23.81 | 25.91 |
Setting /wp-admin/edit.php?post_type=home_slide&page=setting | 870 | 2.01 | 24.30 | 25.67 |
Slides /wp-admin/edit.php?post_type=home_slide | 1,110 | 1.96 | 31.16 | 29.00 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following
- 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/home-slider/home-slider.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== home-slider ===
)
home-slider/home-slider.php Passed 13 tests
This is the main PHP file of "home slider" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
30 characters long description:
free home slider for wordpress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin927 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 82 | 75 | 551 |
JavaScript | 4 | 6 | 89 | 267 |
CSS | 2 | 19 | 8 | 99 |
Markdown | 1 | 4 | 0 | 10 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 14 | |
▷ Named functions | 14 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/rhinoslider/img/rhinoslider-sprite.png | 7.29KB | 3.27KB | ▼ 55.15% |