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.04MB] [CPU: ▲1.29ms] Passed 4 tests
A check of server-side resources used by Easy Listings Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 40.58 ▲2.52 |
Dashboard /wp-admin | 3.35 ▲0.04 | 44.68 ▼5.62 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 51.16 ▲4.74 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 93.15 ▲6.02 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.83 ▲3.50 |
Server storage [IO: ▲2.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 134 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
asana_active_free_plugin |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Listings Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲61 | 13.32 ▼1.43 | 1.80 ▲0.14 | 44.09 ▲0.13 |
Dashboard /wp-admin | 2,216 ▲31 | 4.81 ▼1.08 | 109.88 ▲7.18 | 39.50 ▼0.50 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.02 ▲0.00 | 39.42 ▲4.61 | 34.78 ▼2.91 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 23.11 ▲5.67 | 649.28 ▼51.23 | 55.02 ▲2.14 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.23 ▲0.08 | 96.84 ▼8.49 | 41.26 ▼3.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (37 tag instead of maximum 10)
easy-listings-slider/easy-listings-slider.php 92% from 13 tests
Analyzing the main PHP file in "Easy Listings Slider" version 1.0.1
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected25,209 lines of code in 105 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 12,822 |
JavaScript | 20 | 1,562 | 1,366 | 6,162 |
PHP | 60 | 697 | 2,506 | 4,052 |
CSS | 22 | 148 | 129 | 2,075 |
SVG | 1 | 0 | 0 | 95 |
Markdown | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 9.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 41 | |
▷ Abstract classes | 2 | 4.88% |
▷ Concrete classes | 39 | 95.12% |
▷ Final classes | 0 | 0.00% |
Methods | 210 | |
▷ Static methods | 4 | 1.90% |
▷ Public methods | 188 | 89.52% |
▷ Protected methods | 3 | 1.43% |
▷ Private methods | 19 | 9.05% |
Functions | 3 | |
▷ Named functions | 3 | 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
17 PNG files occupy 0.82MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/jssor/a20.png | 5.79KB | 3.60KB | ▼ 37.83% |
admin/images/welcome/new-slider.png | 53.65KB | 18.95KB | ▼ 64.67% |
admin/images/welcome/slides.png | 97.08KB | 27.97KB | ▼ 71.18% |
admin/images/help.png | 0.30KB | 0.32KB | 0.00% |
admin/images/welcome/captions-preview.png | 258.09KB | 144.29KB | ▼ 44.09% |