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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.12ms] Passed 4 tests
An overview of server-side resources used by Loan Calculator WP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.85 ▼5.08 |
Dashboard /wp-admin | 3.34 ▼0.00 | 47.28 ▼11.29 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 47.63 ▼3.44 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.22 ▼0.66 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 34.90 ▲2.76 |
Server storage [IO: ▲4.13MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 43 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
loan_calculator_db_version |
ww_loan_option |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Loan Calculator WP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲44 | 14.73 ▲0.09 | 1.66 ▼0.10 | 40.45 ▼4.60 |
Dashboard /wp-admin | 2,211 ▲34 | 5.62 ▲0.01 | 90.63 ▼9.30 | 41.94 ▲1.98 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.95 ▼0.06 | 40.93 ▼0.84 | 37.29 ▲0.09 |
Add New Post /wp-admin/post-new.php | 1,539 ▲3 | 23.02 ▲1.95 | 571.13 ▼145.45 | 46.63 ▼7.74 |
Media Library /wp-admin/upload.php | 1,410 ▲13 | 4.15 ▼0.08 | 94.55 ▼4.71 | 40.78 ▼3.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- ww_loan_option
- widget_recent-comments
- loan_calculator_db_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/loan-calculator-wp/includes/admin/forms/theme-templates/default-theme/ww-loan-calculator-loan-default-theme-form.php
- > /wp-content/plugins/loan-calculator-wp/includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: car loan, home loan, emi plugin, loan calculator, bank loan...
loan-calculator-wp/loan-calculator-wp.php 85% from 13 tests
"Loan Calculator WP" version 1.2.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages")
- Domain Path: The domain path must begin with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected30,526 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 474 | 151 | 14,864 |
SVG | 3 | 0 | 0 | 9,552 |
CSS | 4 | 552 | 663 | 3,596 |
PHP | 9 | 352 | 285 | 2,514 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 12.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 4.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/remove.png | 1.19KB | 1.24KB | 0.00% |
includes/images/play-video.png | 55.38KB | 20.64KB | ▼ 62.73% |
includes/images/group-5.png | 0.36KB | 0.28KB | ▼ 21.35% |
includes/images/group-4.png | 0.77KB | 0.54KB | ▼ 29.77% |
includes/images/add.png | 1.02KB | 1.03KB | 0.00% |