Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.42MB] [CPU: ▼2.25ms] Passed 4 tests
A check of server-side resources used by MaxSlider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.40 | 36.90 ▼6.91 |
Dashboard /wp-admin | 3.75 ▲0.44 | 46.47 ▼2.15 |
Posts /wp-admin/edit.php | 3.80 ▲0.44 | 49.04 ▲6.68 |
Add New Post /wp-admin/post-new.php | 7.59 ▲1.70 | 90.93 ▼6.60 |
Media Library /wp-admin/upload.php | 3.61 ▲0.38 | 37.71 ▲6.80 |
MaxSlider /wp-admin/edit.php?post_type=maxslider_slider | 3.66 | 39.17 |
Add New /wp-admin/post-new.php?post_type=maxslider_slider | 3.69 | 48.52 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 44 new files
Database: no new tables, 7 new options
New WordPress options |
---|
maxslider_db_version |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for MaxSlider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲145 | 13.46 ▼0.90 | 8.61 ▲6.91 | 40.96 ▼4.07 |
Dashboard /wp-admin | 2,219 ▲42 | 5.56 ▼0.02 | 87.88 ▲1.42 | 40.69 ▲3.66 |
Posts /wp-admin/edit.php | 2,130 ▲27 | 1.99 ▼0.04 | 35.23 ▼6.99 | 33.39 ▼5.45 |
Add New Post /wp-admin/post-new.php | 6,222 ▲4,685 | 19.00 ▲0.92 | 888.97 ▲290.58 | 53.83 ▼11.44 |
Media Library /wp-admin/upload.php | 1,430 ▲27 | 4.18 ▼0.10 | 96.42 ▼0.45 | 41.79 ▲0.72 |
MaxSlider /wp-admin/edit.php?post_type=maxslider_slider | 1,088 | 1.97 | 30.64 | 29.26 |
Add New /wp-admin/post-new.php?post_type=maxslider_slider | 3,788 | 5.04 | 136.24 | 126.49 |
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
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- maxslider_db_version
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function status_header() in wp-content/plugins/maxslider/uninstall.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/maxslider/block/block.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% 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
These attributes need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
maxslider/maxslider.php 77% from 13 tests
"MaxSlider" version 1.2.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
- Description: The description should be shorter than 140 characters (currently 149 characters long)
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
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
Everything looks great! No dangerous files found in this plugin6,995 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 957 | 256 | 2,525 |
PHP | 10 | 396 | 537 | 1,882 |
CSS | 8 | 221 | 8 | 1,218 |
Sass | 5 | 193 | 72 | 1,193 |
LESS | 1 | 13 | 5 | 150 |
SVG | 2 | 1 | 0 | 14 |
Ruby | 1 | 2 | 0 | 8 |
XML | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
A short review 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.27 |
Average class complexity | 28.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 88 | |
▷ Static methods | 33 | 37.50% |
▷ Public methods | 80 | 90.91% |
▷ Protected methods | 8 | 9.09% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/vendor/alpha-color-picker/transparency-grid.png | 2.58KB | 2.80KB | 0.00% |
assets/images/vc_icon.png | 0.86KB | 0.65KB | ▼ 24.66% |