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.73MB] [CPU: ▼0.75ms] Passed 4 tests
A check of server-side resources used by Businessx Extensions
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.24 ▲0.78 | 45.87 ▲3.70 |
Dashboard /wp-admin | 4.07 ▲0.73 | 53.39 ▼12.04 |
Posts /wp-admin/edit.php | 4.12 ▲0.77 | 55.92 ▲3.96 |
Add New Post /wp-admin/post-new.php | 6.59 ▲0.71 | 97.86 ▲1.39 |
Media Library /wp-admin/upload.php | 3.93 ▲0.71 | 43.94 ▲8.00 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 113 new files
Database: no new tables, 15 new options
New WordPress options |
---|
widget_bx-item-features |
widget_bx-item-slider |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_bx-item-about |
theysaidso_admin_options |
widget_bx-item-faq |
widget_recent-posts |
widget_bx-item-actions |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Businessx Extensions
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.41 ▲0.23 | 1.86 ▲0.06 | 43.40 ▼2.36 |
Dashboard /wp-admin | 2,206 ▲15 | 4.84 ▼0.03 | 100.09 ▼8.61 | 38.88 ▼2.75 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▼0.02 | 40.74 ▼0.12 | 35.79 ▼2.25 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.61 ▼5.67 | 647.20 ▼63.95 | 54.41 ▼11.52 |
Media Library /wp-admin/upload.php | 1,379 ▼6 | 4.21 ▼0.00 | 102.86 ▲0.69 | 46.25 ▲0.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 15 options in the database
- theysaidso_admin_options
- widget_bx-item-slider
- widget_bx-item-about
- widget_bx-item-testimonials
- widget_bx-item-actions
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_bx-item-clients
- ...
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
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/businessx-extensions/businessx-extensions.php
- 82× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'BUSINESSX_EXTS_PATHinc/customizer/helpers.php' (include_path='.:/usr/share/php') in wp-content/plugins/businessx-extensions/inc/customizer/customizer.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/businessx-extensions/templates/sections-items/item-features.php:25
- > PHP Fatal error
Uncaught Error: Call to a member function add_section() on null in wp-content/plugins/businessx-extensions/inc/customizer/sections-mods/team.php:23
- > PHP Warning
Use of undefined constant BUSINESSX_EXTS_PATH - assumed 'BUSINESSX_EXTS_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/businessx-extensions/inc/partials/partials.php on line 11
- > PHP Notice
Undefined variable: wp_customize in wp-content/plugins/businessx-extensions/inc/customizer/sections-mods/team.php on line 23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/businessx-extensions/inc/functions/shortcodes.php:35
- > PHP Warning
require_once(BUSINESSX_EXTS_PATH/inc/partials/sections/maps.php): failed to open stream: No such file or directory in wp-content/plugins/businessx-extensions/inc/partials/partials.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function bx_ext_show_section() in wp-content/plugins/businessx-extensions/templates/sections/section-contact.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/businessx-extensions/inc/functions/helpers.php:53
- > PHP Notice
Undefined variable: wp_customize in wp-content/plugins/businessx-extensions/inc/customizer/sections-mods/features.php on line 23
- > 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
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: No valid plugin tags found
businessx-extensions/businessx-extensions.php Passed 13 tests
The entry point to "Businessx Extensions" version 1.0.6 is a PHP file that has certain tags in its header comment area
75 characters long description:
Adds front page sections and other extensions to Businessx WordPress theme.
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
Good job! No executable or dangerous file extensions detected12,470 lines of code in 109 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 92 | 2,428 | 3,577 | 9,252 |
JavaScript | 12 | 553 | 548 | 2,085 |
CSS | 5 | 73 | 63 | 1,133 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 16.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 4.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 1 | 1.56% |
▷ Public methods | 57 | 89.06% |
▷ Protected methods | 3 | 4.69% |
▷ Private methods | 4 | 6.25% |
Functions | 354 | |
▷ Named functions | 353 | 99.72% |
▷ Anonymous functions | 1 | 0.28% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pattern-map.png | 0.12KB | 0.10KB | ▼ 21.26% |