Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.40ms] Passed 4 tests
This is a short check of server-side resources used by Debt Reduction Calculator + Debt Relief Program Calculator All-In-One
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.30 ▼6.53 |
Dashboard /wp-admin | 3.34 ▼0.01 | 45.30 ▼11.01 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.73 ▼2.95 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.59 ▼1.12 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.18 ▼0.83 |
Debt Reduction Calculator /wp-admin/options-general.php?page=debt-reduction-calculator-debt-relief-program-calculator-all-in-one/wc_credit_card_payoff_calculator.php | 3.23 | 28.28 |
Server storage [IO: ▲0.38MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Debt Reduction Calculator + Debt Relief Program Calculator All-In-One
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲179 | 14.23 ▼0.15 | 7.33 ▲5.59 | 39.88 ▼3.87 |
Dashboard /wp-admin | 2,210 ▲25 | 5.90 ▲0.04 | 111.03 ▲7.06 | 44.09 ▼1.35 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.99 ▼0.07 | 40.10 ▼3.63 | 35.41 ▼4.10 |
Add New Post /wp-admin/post-new.php | 1,523 ▲9 | 23.24 ▲5.77 | 651.91 ▼35.83 | 56.16 ▼7.26 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.22 ▼0.02 | 96.33 ▼3.62 | 39.82 ▼4.01 |
Debt Reduction Calculator /wp-admin/options-general.php?page=debt-reduction-calculator-debt-relief-program-calculator-all-in-one/wc_credit_card_payoff_calculator.php | 781 | 2.01 | 25.17 | 25.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/debt-reduction-calculator-debt-relief-program-calculator-all-in-one/wc_credit_card_payoff_calculator.php on line 25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/debt-reduction-calculator-debt-relief-program-calculator-all-in-one/wc_credit_card_payoff_calculator.php:49
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Here's a screenshot of it in action), #2 (Result in table), #3 (Result in Graphs)
debt-reduction-calculator-debt-relief-program-calculator-all-in-one/wc_credit_card_payoff_calculator.php 85% from 13 tests
Analyzing the main PHP file in "Debt Reduction Calculator + Debt Relief Program Calculator All-In-One" version 2.1
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 312 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("debt-reduction-calculator-debt-relief-program-calculator-all-in-one.php" instead of "wc_credit_card_payoff_calculator.php")
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 detected408 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 24 | 15 | 179 |
PHP | 1 | 19 | 26 | 115 |
CSS | 1 | 0 | 1 | 114 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
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 | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.15MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 26.02KB | 9.63KB | ▼ 63.01% |
images/main_banner.png | 72.65KB | 25.48KB | ▼ 64.92% |
screenshot-1.png | 32.70KB | 12.88KB | ▼ 60.59% |
screenshot-3.png | 16.73KB | 7.23KB | ▼ 56.79% |
images/calculate.png | 9.69KB | 2.94KB | ▼ 69.67% |