Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.79ms] Passed 4 tests
Server-side resources used by DevSlider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 37.58 ▼3.21 |
Dashboard /wp-admin | 3.38 ▲0.08 | 45.04 ▼1.92 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 45.20 ▼3.98 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 82.80 ▼3.73 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.50 ▼8.22 |
All Slides /wp-admin/edit.php?post_type=dev_slide | 3.35 | 36.15 |
Category /wp-admin/edit-tags.php?taxonomy=dev_slide_category&post_type=dev_slide | 3.30 | 33.68 |
Add New Slide /wp-admin/post-new.php?post_type=dev_slide | 3.22 | 34.21 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for DevSlider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲198 | 13.62 ▼0.76 | 8.48 ▲6.42 | 43.54 ▼3.02 |
Dashboard /wp-admin | 2,240 ▲55 | 4.83 ▼1.03 | 100.99 ▲0.01 | 40.23 ▼3.04 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.13 ▲0.09 | 33.71 ▼7.04 | 34.27 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,571 ▲52 | 18.54 ▼4.15 | 637.80 ▼21.82 | 60.05 ▲1.98 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.17 ▲0.07 | 94.70 ▼19.66 | 42.75 ▼2.38 |
All Slides /wp-admin/edit.php?post_type=dev_slide | 1,101 | 1.94 | 37.39 | 28.43 |
Category /wp-admin/edit-tags.php?taxonomy=dev_slide_category&post_type=dev_slide | 1,289 | 2.14 | 26.71 | 28.07 |
Add New Slide /wp-admin/post-new.php?post_type=dev_slide | 1,766 | 3.63 | 63.46 | 33.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=dev_slide
- > Notice in wp-content/plugins/dev-slider/devslider.php+166
Undefined index: slide_desc
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/dev-slider/inc/devslider-template.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: slides in wp-content/plugins/dev-slider/inc/devslider-template.php on line 4
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/dev-slider/inc/devslider-template.php on line 4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: simple, responsive slider, slider, mobile
dev-slider/devslider.php 77% from 13 tests
The main file in "DevSlider" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.0.1" instead of "4.4")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dev-slider.php" instead of "devslider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin197 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 54 | 85 | 183 |
CSS | 2 | 1 | 0 | 13 |
JavaScript | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 3 | 21.43% |
▷ Public methods | 10 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 28.57% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |