Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.68ms] Passed 4 tests
Analyzing server-side resources used by Easy car rental custom backend
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.90 ▲0.93 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.43 ▲0.27 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.53 ▼1.46 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 81.96 ▼26.37 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.30 ▲0.85 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=ecrcb_auto | 3.24 | 40.37 |
All Cars /wp-admin/edit.php?post_type=ecrcb_auto | 3.30 | 38.82 |
Add New Cars /wp-admin/post-new.php?post_type=ecrcb_auto | 3.38 | 49.56 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
category_children |
Browser metrics Passed 4 tests
A check of browser resources used by Easy car rental custom backend
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲165 | 13.42 ▼0.99 | 8.52 ▲6.96 | 45.84 ▲8.60 |
Dashboard /wp-admin | 2,222 ▲47 | 5.56 ▼0.07 | 94.27 ▼6.50 | 66.53 ▲25.24 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.99 ▼0.03 | 35.39 ▼2.12 | 35.14 ▲1.32 |
Add New Post /wp-admin/post-new.php | 1,715 ▲189 | 24.62 ▲1.57 | 702.58 ▲119.24 | 51.32 ▼8.62 |
Media Library /wp-admin/upload.php | 1,430 ▲27 | 4.14 ▼0.12 | 92.28 ▼4.01 | 71.98 ▲25.63 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=ecrcb_auto | 1,482 | 2.27 | 27.45 | 35.28 |
All Cars /wp-admin/edit.php?post_type=ecrcb_auto | 1,141 | 1.92 | 32.36 | 27.74 |
Add New Cars /wp-admin/post-new.php?post_type=ecrcb_auto | 2,340 | 7.59 | 161.36 | 116.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- category_children
- 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
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Cars avialable), #2 (Custom post type for all the vehicle details.)
- Plugin Name: Please specify the plugin name on the first line (
=== easy-car-rental-custom-backend ===
)
easy-car-rental-custom-backend/index.php 92% from 13 tests
The main PHP file in "Easy car rental custom backend" 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:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("easy-car-rental-custom-backend.php" instead of "index.php")
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
There were no executable files found in this plugin77 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 23 | 10 | 74 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
masina/car-compact.png | 0.16KB | 0.15KB | ▼ 3.68% |