Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼7.17ms] Passed 4 tests
Server-side resources used by Advanced Reorder Image Text Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.89 ▼2.15 |
Dashboard /wp-admin | 3.45 ▲0.15 | 48.37 ▼3.76 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 45.04 ▲0.81 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 74.78 ▼20.53 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 31.73 ▼2.24 |
Server storage [IO: ▲1.38MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Reorder Image Text Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,967 ▲232 | 14.86 ▲0.30 | 2.96 ▲1.18 | 47.01 ▼3.30 |
Dashboard /wp-admin | 2,372 ▲184 | 6.54 ▲1.61 | 136.55 ▲31.49 | 41.75 ▼5.60 |
Posts /wp-admin/edit.php | 2,275 ▲183 | 3.46 ▲1.42 | 48.72 ▲11.73 | 31.49 ▲0.85 |
Add New Post /wp-admin/post-new.php | 1,537 ▲3 | 17.69 ▼5.48 | 637.16 ▼42.83 | 37.12 ▼17.21 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.25 ▲0.05 | 83.91 ▼17.05 | 46.49 ▲0.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/advanced-reorder-image-text-slider/advanced-reorder-image-text-slider.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
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
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (This screen shot description corresponds to screenshot-1.png), #2 (This screen shot description admin to screenshot-2.png)
advanced-reorder-image-text-slider/advanced-reorder-image-text-slider.php Passed 13 tests
"Advanced Reorder Image Text Slider" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
87 characters long description:
This is Advanced Reorder Image Text Slider plugin with admin can have ordering feature.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin906 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 288 |
CSS | 2 | 22 | 12 | 267 |
PHP | 1 | 23 | 14 | 221 |
JavaScript | 3 | 9 | 36 | 130 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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 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
7 PNG files occupy 1.01MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/question_mark_for_tooltip.png | 0.77KB | 0.73KB | ▼ 5.06% |
screenshot-1.png | 746.65KB | 285.97KB | ▼ 61.70% |
img/glyphicons-halflings-white.png | 8.57KB | 9.20KB | 0.00% |
img/glyphicons-halflings.png | 12.50KB | 10.35KB | ▼ 17.19% |
screenshot-2.png | 259.05KB | 91.29KB | ▼ 64.76% |