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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼7.95ms] Passed 4 tests
This is a short check of server-side resources used by Rotem Mortgage Calculator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.14 ▲0.55 |
Dashboard /wp-admin | 3.31 ▼0.03 | 48.89 ▼17.03 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 51.36 ▼2.21 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 96.39 ▼13.12 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 37.26 ▲0.94 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Rotem Mortgage Calculator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 13.29 ▼0.87 | 1.76 ▼0.02 | 44.02 ▲2.93 |
Dashboard /wp-admin | 2,220 ▲20 | 5.81 ▼0.05 | 97.96 ▼1.65 | 38.73 ▼7.10 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 2.03 ▼0.01 | 38.85 ▲0.28 | 36.32 ▼0.85 |
Add New Post /wp-admin/post-new.php | 1,545 ▼3 | 23.08 ▼0.24 | 641.74 ▲42.76 | 49.28 ▼6.02 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.17 ▲0.01 | 97.45 ▼2.72 | 46.76 ▲1.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== rotem-mortgage-calculator ===
) - Screenshots: No descriptions were found for these screenshots #1, #2, #3 in rotem-mortgage-calculator/assets to your readme.txt
rotem-mortgage-calculator/rotem-mortgage-calculator.php 92% from 13 tests
The entry point to "Rotem Mortgage Calculator" version 1.0.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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
No dangerous file extensions were detected239 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 71 | 225 | 219 |
Markdown | 1 | 8 | 0 | 20 |
JavaScript | 1 | 1 | 3 | 0 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 1.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 8 | 72.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 27.27% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
There were not PNG files found in your plugin