Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.86ms] Passed 4 tests
Server-side resources used by microSlider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 42.91 ▲2.66 |
Dashboard /wp-admin | 3.32 ▲0.02 | 53.03 ▼3.34 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.00 ▲3.21 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.67 ▼9.01 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.82 ▲2.24 |
microSlider /wp-admin/options-general.php?page=microslider | 3.31 | 37.95 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
microslider_slide_1 |
widget_theysaidso_widget |
microslider_ids |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for microSlider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲156 | 13.54 ▼0.81 | 10.00 ▲8.03 | 42.99 ▼4.16 |
Dashboard /wp-admin | 2,200 ▲23 | 5.69 ▲0.11 | 87.68 ▼3.68 | 41.31 ▼1.65 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.01 ▼0.02 | 36.61 ▼1.12 | 34.33 ▲0.16 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.01 ▲0.01 | 656.87 ▲30.08 | 67.26 ▲11.16 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.14 ▼0.04 | 99.67 ▼9.15 | 43.11 ▼1.31 |
microSlider /wp-admin/options-general.php?page=microslider | 1,281 | 3.03 | 43.70 | 59.30 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- microslider_ids
- widget_recent-posts
- theysaidso_admin_options
- microslider_slide_1
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/microslider/admin/partials/microslider-admin-display.php
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 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: carousel, slider, image slider
microslider/microslider.php 92% from 13 tests
The main PHP script in "microSlider" version 1.0.6 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 251 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,192 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 235 | 105 | 529 |
JavaScript | 5 | 101 | 107 | 402 |
CSS | 6 | 57 | 18 | 261 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 9.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 24 | 72.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 27.27% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/css/images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
admin/images/close.png | 1.20KB | 1.34KB | 0.00% |