Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.56ms] Passed 4 tests
An overview of server-side resources used by Elash Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 35.70 ▼5.07 |
Dashboard /wp-admin | 3.40 ▲0.09 | 45.10 ▼1.78 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 50.91 ▲1.98 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 85.27 ▼13.36 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 33.42 ▲2.55 |
Elash Slider /wp-admin/edit.php?post_type=slide | 3.36 | 37.26 |
Add New /wp-admin/post-new.php?post_type=slide | 3.37 | 39.24 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Elash Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,979 ▲233 | 14.23 ▼0.16 | 5.79 ▲3.82 | 45.24 ▼1.26 |
Dashboard /wp-admin | 2,268 ▲86 | 6.01 ▲0.13 | 98.50 ▼9.03 | 37.89 ▼1.80 |
Posts /wp-admin/edit.php | 2,156 ▲67 | 2.31 ▲0.26 | 41.36 ▲6.02 | 35.48 ▲1.02 |
Add New Post /wp-admin/post-new.php | 1,564 ▲24 | 23.39 ▼0.01 | 647.00 ▲23.52 | 34.45 ▼16.03 |
Media Library /wp-admin/upload.php | 1,447 ▲59 | 4.42 ▲0.17 | 100.32 ▲2.57 | 41.70 ▼3.99 |
Elash Slider /wp-admin/edit.php?post_type=slide | 1,114 | 2.24 | 32.30 | 27.92 |
Add New /wp-admin/post-new.php?post_type=slide | 1,652 | 3.73 | 73.52 | 33.00 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/elash-slider/elashslider.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: slider, carousel
elash-slider/elashslider.php 77% from 13 tests
The main PHP file in "Elash Slider" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("elash-slider.php" instead of "elashslider.php")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin516 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 46 | 6 | 292 |
PHP | 1 | 39 | 24 | 160 |
Markdown | 1 | 6 | 0 | 20 |
XML | 2 | 0 | 0 | 16 |
JavaScript | 3 | 0 | 0 | 15 |
SVG | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin