Benchmarks
Plugin footprint 65% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼299.49ms] Passed 4 tests
Analyzing server-side resources used by Speedy And Econt Shipping
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▼0.03 | 59.51 ▼3.42 |
Dashboard /wp-admin | 3.45 ▲0.05 | 37.02 ▼1.74 |
Posts /wp-admin/edit.php | 3.68 ▲0.04 | 48.37 ▲8.72 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.04 | 101.53 ▼1,181.99 |
Media Library /wp-admin/upload.php | 3.33 ▲0.03 | 24.27 ▼10.81 |
Speedy & Econt shipping /wp-admin/options-general.php?page=speedy-econt-shipping | 3.30 | 34.22 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 12 new files
Database: 4 new tables, 1 new option
New tables |
---|
wp_speedy_sites |
wp_econt_sites |
wp_speedy_offices |
wp_econt_offices |
New WordPress options |
---|
jal_db_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Speedy And Econt Shipping
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,294 ▼460 | 15.96 ▼0.01 | 4.96 ▼1.28 | 31.40 ▲28.34 |
Dashboard /wp-admin | 2,897 ▲43 | 6.13 ▼0.02 | 115.80 ▼17.95 | 163.29 ▼2.39 |
Posts /wp-admin/edit.php | 2,696 ▲11 | 3.24 ▲0.01 | 66.26 ▼0.33 | 140.91 ▼1.73 |
Add New Post /wp-admin/post-new.php | 1,664 ▲3 | 16.58 ▲0.37 | 431.75 ▲11.31 | 153.47 ▼1.78 |
Media Library /wp-admin/upload.php | 1,697 ▲2 | 5.51 ▲0.01 | 164.80 ▲18.48 | 213.94 ▲0.83 |
Speedy & Econt shipping /wp-admin/options-general.php?page=speedy-econt-shipping | 1,112 | 2.38 | 63.96 | 148.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure failed, leaving 4 tables in the database
- wp_speedy_offices
- wp_econt_sites
- wp_econt_offices
- wp_speedy_sites
- This plugin did not uninstall successfully, leaving 1 option in the database
- jal_db_version
Smoke tests Passed 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 Passed 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
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: shipping, econt, bulgaria couriers, bulgaria, speedy
speedy-econt-shipping/speedy_econt_shipping.php 85% from 13 tests
The main file in "Speedy And Econt Shipping" v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("speedy-econt-shipping.php" instead of "speedy_econt_shipping.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,215 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 152 | 65 | 1,096 |
PO File | 1 | 38 | 54 | 93 |
Markdown | 1 | 4 | 0 | 26 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 94.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.26% |
Functions | 53 | |
▷ Named functions | 50 | 94.34% |
▷ Anonymous functions | 3 | 5.66% |
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 are no PNG files in this plugin