Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.71ms] Passed 4 tests
This is a short check of server-side resources used by Easy car rental lightslider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 43.93 ▼0.26 |
Dashboard /wp-admin | 3.33 ▲0.02 | 51.59 ▼1.75 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.12 ▼5.75 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 86.12 ▼7.07 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 42.27 ▲3.10 |
Add New /wp-admin/post-new.php?post_type=ecrcl_images | 3.30 | 47.37 |
Light Images /wp-admin/edit.php?post_type=ecrcl_images | 3.29 | 38.27 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Easy car rental lightslider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲141 | 13.35 ▼1.00 | 9.58 ▲7.69 | 42.91 ▼2.17 |
Dashboard /wp-admin | 2,216 ▲36 | 5.48 ▼0.16 | 83.59 ▼8.36 | 42.30 ▼0.83 |
Posts /wp-admin/edit.php | 2,127 ▲30 | 2.01 ▲0.05 | 34.52 ▼2.59 | 32.56 ▼3.45 |
Add New Post /wp-admin/post-new.php | 1,551 ▲23 | 23.25 ▲0.09 | 691.09 ▲42.01 | 57.05 ▼5.75 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.13 ▲0.02 | 109.84 ▲5.66 | 47.89 ▲5.56 |
Add New /wp-admin/post-new.php?post_type=ecrcl_images | 1,629 | 3.96 | 63.42 | 32.07 |
Light Images /wp-admin/edit.php?post_type=ecrcl_images | 1,088 | 1.95 | 30.27 | 29.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 86% 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
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (https://imgur.com/a/SymKjdb)
easy-car-rental-custom-lightslider/lightslider.php 77% from 13 tests
The main PHP file in "Easy car rental lightslider" ver. 1.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:
- Description: Please keep the plugin description shorter than 140 characters (currently 148 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("easy-car-rental-custom-lightslider.php" instead of "lightslider.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin75 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 16 | 67 |
JavaScript | 2 | 1 | 3 | 7 |
CSS | 1 | 0 | 2 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin