Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼6.39ms] Passed 4 tests
A check of server-side resources used by FC's Mortgage Calculator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 41.29 ▼0.97 |
Dashboard /wp-admin | 3.47 ▲0.17 | 47.57 ▼1.04 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 43.26 ▼5.38 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 79.69 ▼18.15 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 35.50 ▲2.58 |
Server storage [IO: ▲1.64MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 69 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
fcmortcalc_plugin |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for FC's Mortgage Calculator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.30 ▼1.07 | 1.79 ▲0.02 | 47.23 ▼3.72 |
Dashboard /wp-admin | 2,209 ▲18 | 5.84 ▼0.07 | 111.16 ▲10.20 | 43.34 ▲3.70 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.05 | 34.53 ▼7.21 | 33.63 ▼4.32 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.42 ▲5.83 | 667.58 ▼32.89 | 65.22 ▲11.74 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▲0.04 | 95.68 ▼11.66 | 40.36 ▼7.57 |
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
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- fcmortcalc_plugin
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: date_mask in wp-content/plugins/fc-mortgage-calculator/en/calculator.gui.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/fc-mortgage-calculator/fc-mortgage-calculator.php:109
- > PHP Notice
Undefined variable: brand_name in wp-content/plugins/fc-mortgage-calculator/en/calculator.gui.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fc-mortgage-calculator/en/calculator.gui.php:23
- > PHP Notice
Undefined variable: currency in wp-content/plugins/fc-mortgage-calculator/en/calculator.gui.php on line 3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid url: "nada"
fc-mortgage-calculator/fc-mortgage-calculator.php 92% from 13 tests
Analyzing the main PHP file in "FC's Mortgage Calculator" version 1.5.4
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 228 characters long)
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
Everything looks great! No dangerous files found in this plugin16,320 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 14 | 2,470 | 2,902 | 6,816 |
JSON | 14 | 0 | 0 | 3,402 |
JavaScript | 11 | 624 | 959 | 2,870 |
CSS | 6 | 339 | 121 | 1,873 |
PHP | 2 | 322 | 198 | 1,356 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There are no PNG files in this plugin