Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼7.60ms] Passed 4 tests
Server-side resources used by Valuation Calculator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 38.83 ▼15.71 |
Dashboard /wp-admin | 3.42 ▲0.12 | 50.57 ▼9.46 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 46.93 ▼0.92 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 91.42 ▼3.19 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 37.22 ▼2.04 |
Valuation Calculator /wp-admin/options-general.php?page=valuation-plugin | 3.31 | 34.04 |
Server storage [IO: ▲1.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Valuation Calculator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲176 | 14.30 ▼0.05 | 9.81 ▲7.66 | 40.97 ▼7.84 |
Dashboard /wp-admin | 2,230 ▲42 | 5.13 ▼0.74 | 109.15 ▼3.05 | 41.26 ▼0.70 |
Posts /wp-admin/edit.php | 2,121 ▲35 | 2.32 ▲0.29 | 39.07 ▲3.11 | 31.14 ▼2.03 |
Add New Post /wp-admin/post-new.php | 1,535 ▲15 | 23.15 ▼0.26 | 644.51 ▼53.55 | 35.54 ▼21.95 |
Media Library /wp-admin/upload.php | 1,412 ▲21 | 4.54 ▲0.39 | 101.46 ▼1.32 | 41.81 ▼7.69 |
Valuation Calculator /wp-admin/options-general.php?page=valuation-plugin | 1,654 | 2.93 | 64.13 | 42.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/commercial-real-estate-valuation-calculator/css/style.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/commercial-real-estate-valuation-calculator/includes/valuation-calculator.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/commercial-real-estate-valuation-calculator/valuation-calculator.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots do not have images: #5 (banner-772x250.png), #6 (banner-1544x500.png), #7 (icon-128x128.png)
commercial-real-estate-valuation-calculator/valuation-calculator.php 85% from 13 tests
This is the main PHP file of "Valuation Calculator" version 1.3.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("commercial-real-estate-valuation-calculator.php" instead of "valuation-calculator.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 411 characters long)
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
Success! There were no dangerous files found in this plugin3,109 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 59 | 37 | 1,637 |
SVG | 1 | 0 | 0 | 685 |
PHP | 3 | 73 | 54 | 472 |
JavaScript | 5 | 89 | 61 | 315 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
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 | 25 | |
▷ Named functions | 25 | 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 are no PNG files in this plugin