Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.08ms] Passed 4 tests
Analyzing server-side resources used by Plugin Name: Simplify Mortgage Calculation
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.32 ▲4.76 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.03 ▲3.47 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 42.43 ▼4.89 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 78.58 ▼20.75 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.85 ▲1.85 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
widget_mortgage_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Plugin Name: Simplify Mortgage Calculation
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲111 | 13.81 ▼0.81 | 8.97 ▲7.02 | 47.51 ▲5.08 |
Dashboard /wp-admin | 2,192 ▲12 | 5.62 ▲0.00 | 94.81 ▲6.15 | 42.56 ▲2.36 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.02 ▲0.00 | 35.66 ▲0.55 | 33.83 ▼0.94 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.44 ▼0.21 | 675.82 ▼22.56 | 55.03 ▼0.84 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.27 ▲0.08 | 95.53 ▼12.26 | 41.81 ▼4.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_mortgage_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/simplify-mortgage-calculation/index.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== Plugin Name: Simplify Mortgage Calculation ===
)
simplify-mortgage-calculation/index.php 92% from 13 tests
Analyzing the main PHP file in "Plugin Name: Simplify Mortgage Calculation" version 2.0.0
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simplify-mortgage-calculation.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin164 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 12 | 89 |
CSS | 1 | 3 | 6 | 46 |
JavaScript | 1 | 2 | 4 | 29 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin