Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼160.28ms] Passed 4 tests
Server-side resources used by Advanced Reorder Image Text Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.05 | 37.79 ▲10.26 |
Dashboard /wp-admin | 3.23 ▲0.16 | 34.95 ▼4.70 |
Posts /wp-admin/edit.php | 3.32 ▲0.21 | 36.80 ▲1.59 |
Add New Post /wp-admin/post-new.php | 5.75 ▲0.31 | 65.52 ▼633.04 |
Media Library /wp-admin/upload.php | 3.12 ▲0.11 | 23.78 ▼4.96 |
Server storage [IO: ▲1.38MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, no new options
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 / | 3,899 ▲298 | 17.49 ▲1.44 | 6.80 ▼0.07 | 115.97 ▲41.04 |
Dashboard /wp-admin | 3,156 ▲260 | 8.09 ▲1.94 | 138.25 ▲7.35 | 164.72 ▼6.41 |
Posts /wp-admin/edit.php | 3,003 ▲263 | 5.21 ▲1.98 | 79.48 ▲14.46 | 135.61 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,710 ▼2,025 | 20.77 ▲0.76 | 338.67 ▼126.10 | 169.33 ▲6.59 |
Media Library /wp-admin/upload.php | 1,786 ▲34 | 5.60 ▲0.08 | 109.72 ▼37.09 | 188.14 ▼1.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings 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 just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #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
Analyzing the main PHP file in "Advanced Reorder Image Text Slider" version 1.0
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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected906 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
Analyzing cyclomatic complexity and code structure
No complexity issues detected
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
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 1.01MB with 0.17MB 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% |
images/help.png | 0.56KB | 0.61KB | 0.00% |
img/glyphicons-halflings-white.png | 8.57KB | 9.20KB | 0.00% |
img/glyphicons-halflings.png | 12.50KB | 10.35KB | ▼ 17.19% |
screenshot-1.png | 746.65KB | 285.97KB | ▼ 61.70% |