Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.23MB] [CPU: ▼3.28ms] Passed 4 tests
Server-side resources used by RunMyBusiness
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 40.75 ▼3.04 |
Dashboard /wp-admin | 3.52 ▲0.22 | 54.79 ▼1.60 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 53.86 ▲6.24 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.39 | 97.71 ▼10.62 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 38.29 ▲2.13 |
RunMyBusiness Settings /wp-admin/options-general.php?page=runmybusiness_setting_admin | 3.39 | 34.57 |
Add New /wp-admin/post-new.php?post_type=rmb-listing | 6.26 | 86.00 |
RunMyBusiness Sync /wp-admin/tools.php?page=runmybusiness_tools | 3.41 | 33.20 |
Listings /wp-admin/edit.php?post_type=rmb-listing | 3.49 | 39.55 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for RunMyBusiness
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲98 | 14.46 ▲0.10 | 1.74 ▼0.32 | 42.67 ▼3.08 |
Dashboard /wp-admin | 2,246 ▲55 | 5.87 ▼0.03 | 102.08 ▼2.96 | 38.07 ▼5.85 |
Posts /wp-admin/edit.php | 2,126 ▲34 | 2.02 ▲0.05 | 41.31 ▲0.39 | 30.97 ▼4.36 |
Add New Post /wp-admin/post-new.php | 1,562 ▲34 | 18.05 ▼0.19 | 713.24 ▲79.86 | 45.64 ▼12.88 |
Media Library /wp-admin/upload.php | 1,422 ▲40 | 4.19 ▼0.03 | 99.64 ▼4.60 | 36.49 ▼7.40 |
RunMyBusiness Settings /wp-admin/options-general.php?page=runmybusiness_setting_admin | 1,001 | 2.06 | 24.61 | 31.28 |
Add New /wp-admin/post-new.php?post_type=rmb-listing | 6,197 | 22.59 | 903.24 | 26.18 |
RunMyBusiness Sync /wp-admin/tools.php?page=runmybusiness_tools | 788 | 2.05 | 24.81 | 28.60 |
Listings /wp-admin/edit.php?post_type=rmb-listing | 1,099 | 2.00 | 33.56 | 30.49 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=runmybusiness_setting_admin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=runmybusiness_setting_admin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/runmybusiness-listings/sync-cli.php
- 31× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/runmybusiness-listings/includes/sync-all.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/runmybusiness-listings/includes/template-single-listing.php:3
- > PHP Notice
Undefined variable: runmybusiness_listing_url in wp-content/plugins/runmybusiness-listings/includes/sync-listings.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/runmybusiness-listings/run-my-business.php:13
- > PHP Notice
Undefined variable: runmybusiness_rates_url in wp-content/plugins/runmybusiness-listings/rates/update-rates.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/runmybusiness-listings/includes/shortcode-listings.php:3
- > PHP Notice
Undefined variable: runmybusiness_comparables_url in wp-content/plugins/runmybusiness-listings/includes/sync-comparables.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/runmybusiness-listings/includes/shortcode-rates-table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/runmybusiness-listings/includes/shortcode-signup-form.php:3
- > PHP Notice
Undefined variable: context in wp-content/plugins/runmybusiness-listings/includes/sync-listings.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: runmybusiness, realestate, properties, listings
runmybusiness-listings/run-my-business.php 92% from 13 tests
Analyzing the main PHP file in "RunMyBusiness" version 1.0.73
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("runmybusiness-listings.php" instead of "run-my-business.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected3,115 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 479 | 366 | 3,052 |
CSS | 1 | 11 | 0 | 59 |
JSON | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 164.50 |
▷ Minimum class complexity | 131.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 4.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 85 | |
▷ Static methods | 1 | 1.18% |
▷ Public methods | 69 | 81.18% |
▷ Protected methods | 16 | 18.82% |
▷ Private methods | 0 | 0.00% |
Functions | 55 | |
▷ Named functions | 55 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 23 | |
▷ Global constants | 23 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin