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
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.42ms] Passed 4 tests
Analyzing server-side resources used by easy-price-calculator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.13 ▲1.51 |
Dashboard /wp-admin | 3.37 ▲0.07 | 47.15 ▼0.51 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 47.67 ▼5.04 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 106.25 ▲16.08 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 38.31 ▲2.37 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by easy-price-calculator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲58 | 13.23 ▼1.52 | 1.76 ▼0.42 | 43.79 ▲3.67 |
Dashboard /wp-admin | 2,221 ▲33 | 5.83 ▲0.94 | 107.19 ▼6.44 | 77.21 ▲34.49 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 2.00 ▼0.03 | 37.94 ▼6.45 | 32.48 ▼5.36 |
Add New Post /wp-admin/post-new.php | 1,690 ▲153 | 24.16 ▲5.69 | 700.04 ▲72.90 | 53.51 ▼2.44 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.21 ▲0.03 | 96.07 ▼10.03 | 63.99 ▲19.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: woo, quotation, quote, cost, calculator...
easy-price-calculator/easy-price-calculator.php 69% from 13 tests
Analyzing the main PHP file in "easy-price-calculator" version 1.0.0
Please make the necessary changes and fix the following:
- Domain Path: The domain path must begin with a forward slash character ("//")
- Requires at least: Required version must match the one declared in readme.txt ("4.6" instead of "4.7")
- Domain Path: The domain path should use only dashes and lowercase characters ("/")
- Description: Please don't use more than 140 characters for the plugin description (currently 261 characters long)
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
Good job! No executable or dangerous file extensions detected451 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 57 | 35 | 379 |
CSS | 1 | 14 | 3 | 72 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 14.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/bhic-epc-icon.png | 2.27KB | 1.27KB | ▼ 44.26% |
assets/img/bhic-epc-iconx.png | 0.93KB | 0.89KB | ▼ 4.30% |