Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.88ms] Passed 4 tests
An overview of server-side resources used by Ninja Mortgage Calculator - The best Mortgage Plugin for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.11 ▼14.20 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.07 ▼0.05 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.33 ▲0.92 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.10 ▼18.18 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.58 ▲6.34 |
Server storage [IO: ▲2.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 53 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Ninja Mortgage Calculator - The best Mortgage Plugin for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲101 | 13.59 ▼0.70 | 1.62 ▼0.20 | 42.76 ▼1.27 |
Dashboard /wp-admin | 2,247 ▲59 | 5.83 ▲0.93 | 103.74 ▼3.40 | 39.66 ▲0.05 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 2.01 ▼0.03 | 39.23 ▲2.52 | 35.92 ▼2.64 |
Add New Post /wp-admin/post-new.php | 1,524 ▼18 | 17.93 ▼4.85 | 674.14 ▲18.56 | 51.81 ▼0.32 |
Media Library /wp-admin/upload.php | 1,438 ▲56 | 4.21 ▼0.02 | 97.71 ▼1.41 | 41.28 ▼0.44 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- 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
Good news, no errors were detected
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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ninja-mortgage-calculator/views/admin_view.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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 need to be fixed:
- Screenshots: Please add images for these screenshots: #5 (Admin Panel Index), #7 (Calculator Default Value Editor)
- Requires php: Version format is invalid
ninja-mortgage-calculator/ninja-mortgage-calculator.php 85% from 13 tests
The primary PHP file in "Ninja Mortgage Calculator - The best Mortgage Plugin for WordPress" version 1.0.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected15,931 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 11,863 |
Vuejs Component | 14 | 217 | 12 | 2,949 |
PHP | 8 | 115 | 18 | 505 |
Sass | 3 | 78 | 5 | 484 |
JavaScript | 6 | 16 | 0 | 112 |
SVG | 1 | 1 | 0 | 15 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 20 | 76.92% |
▷ Public methods | 24 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 7.69% |
Functions | 7 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 7 | 100.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin