Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲1.63MB] [CPU: ▲13.99ms] Passed 4 tests
Analyzing server-side resources used by Five Star Business Profile and Schema
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.06 ▲1.59 | 54.39 ▲13.72 |
Dashboard /wp-admin | 4.97 ▲1.66 | 66.06 ▲20.41 |
Posts /wp-admin/edit.php | 5.02 ▲1.66 | 63.72 ▲12.29 |
Add New Post /wp-admin/post-new.php | 7.57 ▲1.68 | 110.17 ▲11.31 |
Media Library /wp-admin/upload.php | 4.83 ▲1.60 | 51.97 ▲18.64 |
Dashboard /wp-admin/admin.php?page=bpfwp-dashboard | 4.80 | 49.13 |
Schemas /wp-admin/edit.php?post_type=schema | 4.87 | 48.55 |
Five Star Business Profile and Schema - Welcome! /wp-admin/index.php?page=bpfwp-getting-started | 4.82 | 44.42 |
Settings /wp-admin/admin.php?page=bpfwp-settings | 4.88 | 48.32 |
About Us /wp-admin/admin.php?page=bpfwp-about-us | 4.79 | 56.21 |
Server storage [IO: ▲2.40MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 412 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_bpfwp_contact_card_widget |
widget_recent-posts |
bpfwp-installation-time |
can_compress_scripts |
theysaidso_admin_options |
bpfwp-permission-level |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Five Star Business Profile and Schema
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲80 | 14.23 ▼0.12 | 1.71 ▼0.06 | 43.63 ▼0.33 |
Dashboard /wp-admin | 2,241 ▲74 | 5.64 ▲0.00 | 86.80 ▼18.38 | 39.93 ▼4.05 |
Posts /wp-admin/edit.php | 2,146 ▲49 | 2.01 ▼0.01 | 39.78 ▲0.69 | 36.08 ▲0.77 |
Add New Post /wp-admin/post-new.php | 6,337 ▲4,809 | 19.83 ▼3.37 | 862.74 ▲150.54 | 39.79 ▼25.13 |
Media Library /wp-admin/upload.php | 1,446 ▲43 | 4.25 ▲0.06 | 100.35 ▼0.92 | 43.55 ▼1.21 |
Dashboard /wp-admin/admin.php?page=bpfwp-dashboard | 1,151 | 2.21 | 29.09 | 63.52 |
Schemas /wp-admin/edit.php?post_type=schema | 1,164 | 2.16 | 38.45 | 37.13 |
Five Star Business Profile and Schema - Welcome! /wp-admin/index.php?page=bpfwp-getting-started | 1,968 | 2.04 | 34.94 | 39.80 |
Settings /wp-admin/admin.php?page=bpfwp-settings | 2,892 | 14.05 | 328.56 | 41.43 |
About Us /wp-admin/admin.php?page=bpfwp-about-us | 1,132 | 2.20 | 28.19 | 33.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 9 options
- widget_bpfwp_contact_card_widget
- theysaidso_admin_options
- db_upgraded
- bpfwp-installation-time
- bpfwp-permission-level
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 45× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to get property 'settings' of non-object in wp-content/plugins/business-profile/bpfwp-templates/contact-card.php on line 100
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/business-profile/includes/patterns/whatsapp.php:6
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_15' not found in wp-content/plugins/business-profile/lib/simple-admin-pages/classes/AdminPageSetting.WarningTip.class.php:10
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_15' not found in wp-content/plugins/business-profile/lib/simple-admin-pages/classes/AdminPageSetting.FileUpload.class.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/business-profile/includes/patterns/fax.php:6
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_15' not found in wp-content/plugins/business-profile/lib/simple-admin-pages/classes/AdminPageSetting.Number.class.php:10
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_15' not found in wp-content/plugins/business-profile/lib/simple-admin-pages/classes/AdminPageSetting.Textarea.class.php:12
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_15' not found in wp-content/plugins/business-profile/lib/simple-admin-pages/classes/AdminPageSetting.Ordering.class.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/business-profile/includes/patterns/cell-phone.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function shortcode_exists() in wp-content/plugins/business-profile/includes/template-functions.php:148
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 32 tag instead of maximum 10
business-profile/business-profile.php 92% from 13 tests
The main file in "Five Star Business Profile and Schema" v. 2.3.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 180 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected25,398 lines of code in 374 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 271 | 4,925 | 11,468 | 14,853 |
CSS | 19 | 322 | 201 | 4,111 |
JavaScript | 72 | 674 | 384 | 3,160 |
PO File | 9 | 1,223 | 2,060 | 2,938 |
Markdown | 3 | 126 | 0 | 336 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 5.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 125.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 256 | |
▷ Abstract classes | 2 | 0.78% |
▷ Concrete classes | 254 | 99.22% |
▷ Final classes | 0 | 0.00% |
Methods | 677 | |
▷ Static methods | 4 | 0.59% |
▷ Public methods | 654 | 96.60% |
▷ Protected methods | 7 | 1.03% |
▷ Private methods | 16 | 2.36% |
Functions | 36 | |
▷ Named functions | 33 | 91.67% |
▷ Anonymous functions | 3 | 8.33% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
25 PNG files occupy 0.89MB with 0.54MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/bpfwp-icon.png | 208.16KB | 105.06KB | ▼ 49.53% |
assets/img/premium-screenshots/labelling1.png | 27.34KB | 7.34KB | ▼ 73.14% |
assets/img/ewd-support-icon-youtube.png | 1.75KB | 0.66KB | ▼ 62.56% |
assets/img/premium-screenshots/premium.png | 64.47KB | 20.08KB | ▼ 68.85% |
lib/simple-admin-pages/img/options-asset-lock.png | 1.05KB | 0.50KB | ▼ 52.28% |