Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▼0.00MB] [CPU: ▼7.46ms] Passed 4 tests
This is a short check of server-side resources used by Britetechs Companion
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.55 ▲1.05 |
Dashboard /wp-admin | 3.31 ▼0.03 | 44.16 ▼17.55 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.61 ▼2.92 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 81.22 ▼9.85 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.49 ▲0.49 |
Server storage [IO: ▲15.42MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 121 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
home_and_blog_activate |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Britetechs Companion
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,785 ▲23 | 14.57 ▼0.16 | 1.64 ▼0.03 | 39.96 ▼2.84 |
Dashboard /wp-admin | 2,195 ▲14 | 5.62 ▼0.06 | 90.02 ▼12.71 | 38.62 ▲0.10 |
Posts /wp-admin/edit.php | 2,109 ▲6 | 1.94 ▼0.02 | 41.35 ▲2.23 | 34.87 ▲0.93 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 22.94 ▼0.18 | 618.96 ▼56.40 | 55.51 ▲2.14 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.16 ▼0.09 | 98.98 ▲3.57 | 44.80 ▲0.80 |
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
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- home_and_blog_activate
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 72× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/britetechs-companion/inc/jewelry-store/section-all/section-testimonial.php:127
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/britetechs-companion/inc/bizcor/customizer/options/customizer-header.php:246
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/britetechs-companion/inc/jewelry-store/section-all/section-slider.php:95
- > PHP Warning
Use of undefined constant bc_plugin_dir - assumed 'bc_plugin_dir' (this will throw an Error in a future version of PHP) in wp-content/plugins/britetechs-companion/inc/jewelry-store/required-plugin/index.php on line 34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/britetechs-companion/inc/hotelone/init.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/britetechs-companion/inc/hotelone/customizer/sections/customizer-slider.php:109
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/britetechs-companion/inc/jewelry-store/customizer/customizer-shop.php:117
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/britetechs-companion/inc/businesswp/sections/section-team.php:100
- > PHP Fatal error
require_once(): Failed opening required 'bc_plugin_dirinc/hotelone/required-plugin/class-tgm-plugin-activation.php' (include_path='.:/usr/share/php') in wp-content/plugins/britetechs-companion/inc/hotelone/required-plugin/index.php on line 34
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/britetechs-companion/inc/jewelry-store/section-all/section-shop.php:181
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
No plugin tags provided
britetechs-companion/britetechs-companion.php Passed 13 tests
The entry point to "Britetechs Companion" version 1.9.6 is a PHP file that has certain tags in its header comment area
57 characters long description:
Enhances britetechs themes with additional functionality.
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
Success! There were no dangerous files found in this plugin11,015 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 72 | 1,263 | 1,918 | 9,377 |
XML | 1 | 26 | 16 | 1,638 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 34.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 208 | |
▷ Static methods | 11 | 5.29% |
▷ Public methods | 162 | 77.88% |
▷ Protected methods | 46 | 22.12% |
▷ Private methods | 0 | 0.00% |
Functions | 104 | |
▷ Named functions | 104 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 4 | 40.00% |
▷ Class constants | 6 | 60.00% |
▷ Public constants | 6 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
14 PNG files occupy 10.74MB with 6.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/businesswp/img/project1.png | 711.52KB | 306.19KB | ▼ 56.97% |
inc/businesswp/img/team4.png | 949.88KB | 359.55KB | ▼ 62.15% |
inc/businesswp/img/slide1.png | 1,183.59KB | 481.62KB | ▼ 59.31% |
inc/businesswp/img/team2.png | 674.59KB | 322.95KB | ▼ 52.13% |
inc/businesswp/img/project3.png | 1,087.45KB | 455.64KB | ▼ 58.10% |