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.20MB] [CPU: ▼4.94ms] Passed 4 tests
This is a short check of server-side resources used by Business Listing Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 41.37 ▼0.21 |
Dashboard /wp-admin | 3.50 ▲0.20 | 47.93 ▲0.88 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 41.84 ▼5.52 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 91.55 ▼12.80 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 35.28 ▼1.24 |
All LocalBizzes /wp-admin/edit.php?post_type=localbiz | 3.46 | 36.00 |
Settings /wp-admin/admin.php?page=bizlisting-manager-settings | 3.38 | 30.56 |
Add New LocalBiz /wp-admin/post-new.php?post_type=localbiz | 6.18 | 81.43 |
LocalBiz Categories /wp-admin/edit-tags.php?taxonomy=localbiz_category&post_type=localbiz | 3.41 | 32.74 |
Help /wp-admin/admin.php?page=bizlisting-manager-help | 3.38 | 29.02 |
Server storage [IO: ▲0.11MB] [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: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Business Listing Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲115 | 13.22 ▼1.21 | 1.69 ▼0.09 | 41.47 ▼1.41 |
Dashboard /wp-admin | 2,267 ▲75 | 5.88 ▲0.88 | 93.68 ▼17.29 | 38.90 ▲1.64 |
Posts /wp-admin/edit.php | 2,147 ▲58 | 2.00 ▼0.03 | 37.51 ▼2.59 | 37.51 ▼0.74 |
Add New Post /wp-admin/post-new.php | 1,581 ▲48 | 23.13 ▲0.08 | 654.32 ▲0.14 | 58.77 ▲12.99 |
Media Library /wp-admin/upload.php | 1,449 ▲58 | 4.21 ▼0.04 | 97.80 ▼5.32 | 41.37 ▼6.91 |
All LocalBizzes /wp-admin/edit.php?post_type=localbiz | 1,162 | 1.94 | 30.56 | 29.76 |
Settings /wp-admin/admin.php?page=bizlisting-manager-settings | 900 | 2.02 | 21.46 | 26.95 |
Add New LocalBiz /wp-admin/post-new.php?post_type=localbiz | 7,690 | 19.37 | 896.09 | 59.77 |
LocalBiz Categories /wp-admin/edit-tags.php?taxonomy=localbiz_category&post_type=localbiz | 1,317 | 2.26 | 28.77 | 27.46 |
Help /wp-admin/admin.php?page=bizlisting-manager-help | 971 | 2.02 | 22.98 | 25.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
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
Almost there! Just fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/business-listing-manager/includes/bizlisting-functions.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/business-listing-manager/bizlisting-manager.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/business-listing-manager/includes/bizlisting-shortcode.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/business-listing-manager/includes/bizlisting-edit-form.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Contributors: Plugin contributors not specified
business-listing-manager/bizlisting-manager.php 77% from 13 tests
The principal PHP file in "Business Listing Plugin" v. 2.1.3 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("business-listing-manager.php" instead of "bizlisting-manager.php")
- Description: The description should be shorter than 140 characters (currently 333 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin1,312 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 234 | 247 | 1,312 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.47 |
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 | 12 | |
▷ Named functions | 12 | 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
No PNG files were detected