Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼5.65ms] Passed 4 tests
Analyzing server-side resources used by FC's Retirement Nest Egg Calculator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 39.22 ▼3.26 |
Dashboard /wp-admin | 3.48 ▲0.17 | 44.47 ▼5.75 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 47.69 ▼1.86 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 81.35 ▼11.74 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 35.68 ▲0.05 |
Server storage [IO: ▲1.45MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 69 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
fcretirenesteggcalc_plugin |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by FC's Retirement Nest Egg Calculator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.14 ▼0.42 | 1.91 ▲0.15 | 43.26 ▼1.75 |
Dashboard /wp-admin | 2,189 ▲9 | 5.54 ▼0.06 | 83.89 ▼1.10 | 37.96 ▼3.25 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.12 ▲0.17 | 36.15 ▼3.70 | 31.91 ▼4.77 |
Add New Post /wp-admin/post-new.php | 1,526 ▼8 | 23.19 ▲4.93 | 649.43 ▲33.56 | 55.74 ▼15.81 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.20 ▼0.01 | 94.25 ▼2.44 | 45.22 ▲1.45 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- fcretirenesteggcalc_plugin
- 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined variable: date_mask in wp-content/plugins/fc-retirement-nest-egg-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-retirement-nest-egg-calculator/fc-retirement-nest-egg-calculator.php:100
- > PHP Notice
Undefined variable: currency in wp-content/plugins/fc-retirement-nest-egg-calculator/en/calculator.gui.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fc-retirement-nest-egg-calculator/en/calculator.gui.php:24
- > PHP Notice
Undefined variable: brand_name in wp-content/plugins/fc-retirement-nest-egg-calculator/en/calculator.gui.php on line 21
- > PHP Notice
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)
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
Please fix the following attributes:
- Donate link: Invalid URI ("")
fc-retirement-nest-egg-calculator/fc-retirement-nest-egg-calculator.php 92% from 13 tests
"FC's Retirement Nest Egg Calculator" version 1.5.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 223 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected13,764 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 14 | 1,946 | 2,254 | 5,138 |
JSON | 14 | 0 | 0 | 3,024 |
JavaScript | 11 | 575 | 939 | 2,621 |
CSS | 6 | 339 | 121 | 1,873 |
PHP | 2 | 321 | 207 | 1,105 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin