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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.78ms] Passed 4 tests
Analyzing server-side resources used by Simple Loan and Mortgage Calculator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 42.03 ▼6.80 |
Dashboard /wp-admin | 3.35 ▲0.04 | 46.74 ▼3.14 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.53 ▼0.92 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.33 ▼16.24 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.52 ▲4.60 |
Server storage [IO: ▲3.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 59 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
charts_field |
widget_recent-comments |
title_field |
widget_recent-posts |
currency_field |
db_upgraded |
Browser metrics Passed 4 tests
Simple Loan and Mortgage Calculator: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲113 | 13.76 ▼0.83 | 10.18 ▲8.19 | 57.43 ▲13.79 |
Dashboard /wp-admin | 2,219 ▲31 | 5.84 ▲0.92 | 101.34 ▼13.04 | 42.06 ▼2.81 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 2.03 ▲0.01 | 38.47 ▼9.17 | 36.92 ▲0.05 |
Add New Post /wp-admin/post-new.php | 1,551 ▲18 | 23.00 ▼0.17 | 652.73 ▼3.30 | 64.58 ▲6.29 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.21 ▲0.01 | 97.42 ▼6.43 | 42.59 ▼4.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 9 options in the database
- charts_field
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- currency_field
- title_field
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-loan-mortgage-calculator/simplelmc-config.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/simple-loan-mortgage-calculator/index.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Requires at least: Invalid plugin version format
simple-loan-mortgage-calculator/index.php 92% from 13 tests
"Simple Loan and Mortgage Calculator" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-loan-mortgage-calculator.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin21,450 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 1,183 | 29 | 12,304 |
JavaScript | 5 | 785 | 355 | 2,755 |
SVG | 1 | 0 | 0 | 2,671 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP | 2 | 48 | 24 | 194 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
PNG images were not found in this plugin