Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.76MB] [CPU: ▼167.98ms] Passed 4 tests
An overview of server-side resources used by Basticom Framework
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.99 ▲0.16 | 52.63 ▲18.22 |
Dashboard /wp-admin | 2.88 ▼0.17 | 29.17 ▼17.26 |
Posts /wp-admin/edit.php | 2.89 ▼0.22 | 31.72 ▼18.50 |
Add New Post /wp-admin/post-new.php | 2.88 ▼2.55 | 33.62 ▼632.03 |
Media Library /wp-admin/upload.php | 2.89 ▼0.12 | 30.15 ▼4.13 |
Basticom /wp-admin/options-general.php?page=basticom-framework-api/admin/basticom-framework-admin.php | 2.89 | 26.94 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 51 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Basticom Framework
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,848 ▲276 | 17.14 ▲1.60 | 24.08 ▲14.38 | 47.06 ▼6.29 |
Dashboard /wp-admin | 3,024 ▲93 | 6.63 ▲0.56 | 158.37 ▲5.71 | 121.00 ▼6.52 |
Posts /wp-admin/edit.php | 2,796 ▲57 | 3.02 ▲0.32 | 96.98 ▲28.43 | 115.12 ▲23.16 |
Add New Post /wp-admin/post-new.php | 1,728 ▲45 | 18.69 ▼0.01 | 386.54 ▼17.87 | 130.61 ▲20.24 |
Media Library /wp-admin/upload.php | 1,861 ▲54 | 5.43 ▲0.43 | 147.34 ▼12.09 | 123.15 ▼0.17 |
Basticom /wp-admin/options-general.php?page=basticom-framework-api/admin/basticom-framework-admin.php | 3,244 | 3.19 | 124.86 | 97.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5663
add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=basticom-framework-api/admin/basticom-framework-admin.php
- > User notice in wp-includes/functions.php+5663
add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
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
Please fix the following items
- 32× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/basticom-framework/admin/modules/bstcmfw-cleanadminbar.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/basticom-framework/admin/modules/bstcmfw-footertext.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/basticom-framework/admin/modules/bstcmfw-widgets.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/basticom-framework/admin/modules/bstcmfw-serverstats.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_action() in wp-content/plugins/basticom-framework/admin/modules/bstcmfw-emojis.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_theme_support() in wp-content/plugins/basticom-framework/admin/modules/bstcmfw-imagecompression.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/basticom-framework/admin/modules/bstcmfw-googleapikey.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/basticom-framework/admin/modules/bstcmfw-adddefer.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function bstcmfw_write_log() in wp-content/plugins/basticom-framework/admin/modules/bstcmfw-posts.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_filter() in wp-content/plugins/basticom-framework/admin/modules/bstcmfw-atom.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% 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
These attributes need your attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== basticom-framework ===
)
basticom-framework/basticom-framework.php Passed 13 tests
This is the main PHP file of "Basticom Framework" version 1.5.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
19 characters long description:
WordPress framework
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 plugin2,102 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 421 | 182 | 1,567 |
PO File | 1 | 83 | 86 | 190 |
JavaScript | 3 | 42 | 11 | 183 |
CSS | 2 | 26 | 0 | 152 |
HTML | 1 | 9 | 0 | 10 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 19.80 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 24 | 48.98% |
▷ Public methods | 49 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 65 | |
▷ Named functions | 45 | 69.23% |
▷ Anonymous functions | 20 | 30.77% |
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