Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.63MB] [CPU: ▼21.84ms] Passed 4 tests
Server-side resources used by Reactive Mortgage Calculator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 38.46 ▼2.56 |
Dashboard /wp-admin | 3.36 ▲0.01 | 46.11 ▼19.82 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 51.32 ▲3.14 |
Add New Post /wp-admin/post-new.php | 3.24 ▼2.65 | 35.22 ▼64.29 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.35 ▼0.68 |
Server storage [IO: ▲1.70MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 25 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_srzmrt_instances |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Reactive Mortgage Calculator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲86 | 13.77 ▼0.85 | 12.59 ▲10.52 | 41.76 ▼1.31 |
Dashboard /wp-admin | 2,219 ▲40 | 5.84 ▼0.03 | 102.97 ▼2.06 | 37.99 ▼6.08 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.03 ▲0.02 | 40.11 ▲2.99 | 35.87 ▼0.25 |
Add New Post /wp-admin/post-new.php | 1,555 ▲41 | 18.64 ▲1.16 | 604.18 ▼80.48 | 56.65 ▼4.56 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.25 ▲0.03 | 93.44 ▼4.90 | 40.97 ▼4.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_srzmrt_instances
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/reactive-mortgage-calculator/admin/index.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/reactive-mortgage-calculator/reactive-mortgage-calculator.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/reactive-mortgage-calculator/site/index.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/reactive-mortgage-calculator/api/admin/settings.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/reactive-mortgage-calculator/api/admin/settings.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/reactive-mortgage-calculator/api/admin/settings.php:34
- > PHP Fatal error
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 97% 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:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6 in reactive-mortgage-calculator/assets to your readme.txt
reactive-mortgage-calculator/reactive-mortgage-calculator.php Passed 13 tests
"Reactive Mortgage Calculator" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
66 characters long description:
Responsive and Reactive mortgage calculator that you can customize
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected26,498 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 3,403 | 865 | 15,464 |
JavaScript | 8 | 2,851 | 2,856 | 10,729 |
PHP | 8 | 80 | 41 | 305 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.33 |
▷ 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 | 6 | |
▷ Static methods | 6 | 100.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 20 | 90.91% |
▷ Anonymous functions | 2 | 9.09% |
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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/resources/instagram-icon.png | 1.32KB | 0.55KB | ▼ 58.48% |