Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼4.86ms] Passed 4 tests
A check of server-side resources used by JIMMO WP Property Finance Budget Calculator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 46.43 ▲1.89 |
Dashboard /wp-admin | 3.41 ▲0.07 | 52.14 ▼9.67 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 51.71 ▲3.83 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 89.11 ▼15.48 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 42.16 ▲7.49 |
JWP Budget Calculator /wp-admin/options-general.php?page=jimmo-wp-property-finance-budget-calculator | 3.30 | 35.16 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for JIMMO WP Property Finance Budget Calculator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲48 | 14.36 ▲0.01 | 1.69 ▼0.06 | 43.79 ▼0.40 |
Dashboard /wp-admin | 2,204 ▲24 | 5.65 ▲0.05 | 87.97 ▼6.08 | 39.00 ▼3.19 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.02 ▼0.00 | 39.23 ▼1.33 | 37.58 ▼0.77 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.99 ▼0.20 | 699.46 ▲40.75 | 55.74 ▲0.78 |
Media Library /wp-admin/upload.php | 1,406 ▲12 | 4.32 ▲0.10 | 98.90 ▼8.60 | 44.98 ▼1.70 |
JWP Budget Calculator /wp-admin/options-general.php?page=jimmo-wp-property-finance-budget-calculator | 861 | 2.12 | 23.64 | 37.10 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
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
Even though no errors were found, 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
Please take a closer look at the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/jimmo-wp-property-finance-budget-calculator/admin/partials/jimmo-wp-property-finance-budget-calculator-admin-display.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/jimmo-wp-property-finance-budget-calculator/public/partials/jimmo-wp-property-finance-budget-calculator-public-display.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/jimmo-wp-property-finance-budget-calculator/admin/partials/jimmo-wp-property-finance-budget-calculator-welcome-box.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
jimmo-wp-property-finance-budget-calculator/jimmo-wp-property-finance-budget-calculator.php Passed 13 tests
The entry point to "JIMMO WP Property Finance Budget Calculator" version 1.1.0 is a PHP file that has certain tags in its header comment area
50 characters long description:
Plugin to calculate a loan budget for Real Estate.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,775 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 160 | 623 | 578 |
JavaScript | 2 | 85 | 242 | 366 |
CSS | 2 | 0 | 4 | 319 |
LESS | 3 | 41 | 11 | 316 |
PO File | 1 | 68 | 101 | 196 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 30 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.29% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin