Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.17ms] Passed 4 tests
Analyzing server-side resources used by Simple Business Data
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.52 ▼5.18 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.16 ▼21.17 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.82 ▼0.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.46 ▼17.48 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.88 ▲1.83 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Simple Business Data
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.25 ▲0.10 | 1.76 ▲0.03 | 47.21 ▲4.76 |
Dashboard /wp-admin | 2,195 ▲15 | 5.58 ▼0.07 | 92.84 ▲3.42 | 42.55 ▲0.30 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.96 ▼0.03 | 36.10 ▼1.33 | 33.45 ▼0.22 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.12 ▼0.00 | 669.65 ▼11.93 | 62.68 ▲4.28 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.21 ▲0.02 | 105.16 ▼9.90 | 43.87 ▼4.56 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/simple-business-data/templates/simple-business-data-social-template.php
- > /wp-content/plugins/simple-business-data/simple-business-data.php
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: type in wp-content/plugins/simple-business-data/templates/simple-business-data-template.php on line 21
- > PHP Notice
Undefined variable: type in wp-content/plugins/simple-business-data/templates/simple-business-data-template.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/simple-business-data/templates/simple-business-data-admin-page.php:12
- > PHP Notice
Undefined variable: sites in wp-content/plugins/simple-business-data/templates/simple-business-data-social-template.php on line 6
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/simple-business-data/templates/simple-business-data-social-template.php on line 6
- > PHP Notice
Undefined variable: show_icon in wp-content/plugins/simple-business-data/templates/simple-business-data-template.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/simple-business-data/templates/simple-business-data-template.php:36
- > PHP Notice
Undefined variable: type in wp-content/plugins/simple-business-data/templates/simple-business-data-template.php on line 19
- > PHP Notice
Undefined variable: type in wp-content/plugins/simple-business-data/templates/simple-business-data-template.php on line 27
- > PHP Notice
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 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 32 tag instead of maximum 10
simple-business-data/simple-business-data.php 77% from 13 tests
"Simple Business Data" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("")
- Domain Path: Please prefix the domain path with a forward slash character ("/")
- Text Domain: Please use dashes and lowercase characters for text domains
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
Good job! No executable or dangerous file extensions detected555 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 94 | 151 | 399 |
CSS | 2 | 5 | 15 | 156 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 21 | |
▷ Static methods | 3 | 14.29% |
▷ Public methods | 20 | 95.24% |
▷ Protected methods | 1 | 4.76% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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