Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/bizconnector/models/attachment.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; bizconnector_Attachment has a deprecated constructor
Server metrics [RAM: ▲0.00MB] [CPU: ▼10.68ms] Passed 4 tests
An overview of server-side resources used by bizconnector
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.32 ▼4.51 |
Dashboard /wp-admin | 3.32 ▼0.03 | 48.40 ▼18.59 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.61 ▼6.46 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.24 ▼13.17 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.98 ▲2.05 |
bizconnector /wp-admin/options-general.php?page=bizconnector | 3.19 | 31.32 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
bizconnector: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.41 ▼0.31 | 1.64 ▼0.30 | 45.89 ▲2.94 |
Dashboard /wp-admin | 2,199 ▲22 | 5.56 ▲0.03 | 87.84 ▼11.61 | 41.59 ▲0.77 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.00 ▲0.01 | 34.94 ▼0.56 | 38.61 ▲2.74 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.99 ▼0.02 | 667.84 ▲6.61 | 55.99 ▲0.14 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.20 ▲0.04 | 98.10 ▲0.76 | 47.34 ▲4.20 |
bizconnector /wp-admin/options-general.php?page=bizconnector | 760 | 1.99 | 23.87 | 23.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=bizconnector
- > Warning in wp-content/plugins/bizconnector/singletons/api.php+75
include(bizc_admin.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=bizconnector
- > Warning in wp-content/plugins/bizconnector/singletons/api.php+75
include(): Failed opening 'bizc_admin.php' for inclusion (include_path='.:/usr/share/php')
SRP 50% 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bizconnector/bizconnector.php:79
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: marketing automation, api, integration, json, blog post...
bizconnector/bizconnector.php Passed 13 tests
This is the main PHP file of "bizconnector" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
35 characters long description:
A plugin for BizConnector customers
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin3,834 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 469 | 411 | 3,834 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 27.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 127.00 |
Average method complexity | 4.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 135 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 128 | 94.81% |
▷ Protected methods | 7 | 5.19% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected