Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/business-manager/includes/employee/class-employee.php+543
The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence
Server metrics [RAM: ▼0.76MB] [CPU: ▼41.76ms] Passed 4 tests
A check of server-side resources used by WordPress ERP, HR, CRM, and Project Management Plugin - Business Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.22 ▼0.25 | 13.76 ▼26.70 |
Dashboard /wp-admin | 3.26 ▼0.09 | 14.27 ▼49.83 |
Posts /wp-admin/edit.php | 3.26 ▼0.10 | 21.18 ▼22.09 |
Add New Post /wp-admin/post-new.php | 3.26 ▼2.63 | 17.12 ▼68.41 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 18.06 ▼15.89 |
Reviews /wp-admin/edit.php?post_type=bm-review&orderby=_bm_review_date&order=desc | 3.27 | 17.21 |
Departments /wp-admin/edit-tags.php?taxonomy=bm-department&post_type=bm-employee | 3.33 | 15.07 |
Employees /wp-admin/edit.php?post_type=bm-employee&orderby=_bm_employee_last_name&order=asc | 3.27 | 14.86 |
Projects /wp-admin/edit.php?post_type=bm-project&orderby=title&order=asc | 3.27 | 14.40 |
Settings /wp-admin/admin.php?page=business-manager-general | 3.26 | 14.32 |
Dashboard /wp-admin/admin.php?page=business-manager | 3.26 | 14.29 |
Leave /wp-admin/edit.php?post_type=bm-leave&orderby=_bm_leave_start&order=desc | 3.27 | 15.37 |
Documents /wp-admin/edit.php?post_type=bm-document&orderby=title&order=asc | 3.27 | 14.34 |
Clients /wp-admin/edit.php?post_type=bm-client&orderby=_bm_client&order=asc | 3.27 | 15.67 |
Calendar /wp-admin/admin.php?page=business-manager-calendar | 3.26 | 17.05 |
Server storage [IO: ▲7.77MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 486 new files
Database: no new tables, 13 new options
New WordPress options |
---|
theysaidso_admin_options |
business-manager-client |
can_compress_scripts |
business-manager-extensions |
widget_theysaidso_widget |
business-manager-document |
business-manager-employee |
widget_recent-comments |
widget_recent-posts |
business-manager-project |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress ERP, HR, CRM, and Project Management Plugin - Business Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,050 ▲304 | 15.81 ▲1.32 | 1.91 ▲0.31 | 39.08 ▼4.34 |
Dashboard /wp-admin | 2,453 ▲283 | 7.31 ▲1.65 | 125.28 ▲28.50 | 37.50 ▼0.86 |
Posts /wp-admin/edit.php | 2,381 ▲278 | 3.82 ▲1.85 | 53.22 ▲17.83 | 30.31 ▼2.25 |
Add New Post /wp-admin/post-new.php | 1,630 ▲93 | 22.66 ▲4.28 | 695.20 ▲45.36 | 37.19 ▼45.03 |
Media Library /wp-admin/upload.php | 1,521 ▲121 | 5.11 ▲0.92 | 96.52 ▲3.73 | 41.46 ▼4.49 |
Reviews /wp-admin/edit.php?post_type=bm-review&orderby=_bm_review_date&order=desc | 1,523 | 3.74 | 53.56 | 28.63 |
Departments /wp-admin/edit-tags.php?taxonomy=bm-department&post_type=bm-employee | 1,566 | 3.60 | 48.01 | 29.82 |
Employees /wp-admin/edit.php?post_type=bm-employee&orderby=_bm_employee_last_name&order=asc | 1,518 | 3.72 | 51.85 | 27.63 |
Projects /wp-admin/edit.php?post_type=bm-project&orderby=title&order=asc | 1,636 | 3.86 | 50.70 | 28.85 |
Settings /wp-admin/admin.php?page=business-manager-general | 1,495 | 4.10 | 51.85 | 24.99 |
Dashboard /wp-admin/admin.php?page=business-manager | 1,168 | 3.84 | 44.59 | 30.07 |
Leave /wp-admin/edit.php?post_type=bm-leave&orderby=_bm_leave_start&order=desc | 1,515 | 3.72 | 52.02 | 27.43 |
Documents /wp-admin/edit.php?post_type=bm-document&orderby=title&order=asc | 1,395 | 3.76 | 49.97 | 26.80 |
Clients /wp-admin/edit.php?post_type=bm-client&orderby=_bm_client&order=asc | 1,444 | 3.72 | 52.78 | 27.45 |
Calendar /wp-admin/admin.php?page=business-manager-calendar | 1,726 | 8.69 | 128.15 | 41.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/business-manager/includes/employee/class-employee.php+543
The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence
- This plugin does not fully uninstall, leaving 13 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- business-manager-general
- business-manager-project
- widget_recent-comments
- business_manager_db_version
- widget_theysaidso_widget
- theysaidso_admin_options
- business-manager-document
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 17 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=business-manager-calendar
- > Deprecated in wp-content/plugins/business-manager/includes/employee/class-employee.php+543
The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence
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
Please fix the following items
- 57× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/business-manager/includes/lib/cmb2/includes/types/CMB2_Type_Checkbox.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/business-manager/includes/lib/cmb2/includes/helper-functions.php:131
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/business-manager/includes/lib/cmb2/includes/types/CMB2_Type_Oembed.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/business-manager/includes/template-hooks.php:9
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Radio' not found in wp-content/plugins/business-manager/includes/lib/cmb2/includes/types/CMB2_Type_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/business-manager/includes/lib/cmb2/includes/types/CMB2_Type_Taxonomy_Base.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/business-manager/includes/lib/cmb2-attached-posts/init.php:49
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/business-manager/includes/lib/cmb2/includes/types/CMB2_Type_File.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function cmb2_dir() in wp-content/plugins/business-manager/includes/lib/cmb2/includes/rest-api/CMB2_REST_Controller.php:4
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/business-manager/includes/lib/cmb2/includes/types/CMB2_Type_Picker_Base.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: erp, hr, crm, business management, project management
business-manager/business-manager.php 69% from 13 tests
Analyzing the main PHP file in "WordPress ERP, HR, CRM, and Project Management Plugin - Business Manager" version 1.5.7
Please make the necessary changes and fix the following:
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 153 characters long)
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected75,803 lines of code in 305 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 121 | 14,785 | 19,208 | 33,378 |
PHP | 123 | 4,261 | 9,320 | 17,481 |
JSON | 6 | 0 | 0 | 13,515 |
CSS | 20 | 729 | 1,232 | 7,337 |
JavaScript | 20 | 812 | 889 | 2,748 |
Markdown | 10 | 336 | 0 | 1,175 |
Svelte | 2 | 16 | 0 | 84 |
XML | 2 | 14 | 2 | 52 |
YAML | 1 | 9 | 51 | 33 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 20.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 64.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 116 | |
▷ Abstract classes | 9 | 7.76% |
▷ Concrete classes | 107 | 92.24% |
▷ Final classes | 1 | 0.93% |
Methods | 950 | |
▷ Static methods | 119 | 12.53% |
▷ Public methods | 838 | 88.21% |
▷ Protected methods | 101 | 10.63% |
▷ Private methods | 11 | 1.16% |
Functions | 139 | |
▷ Named functions | 130 | 93.53% |
▷ Anonymous functions | 9 | 6.47% |
Constants | 25 | |
▷ Global constants | 13 | 52.00% |
▷ Class constants | 12 | 48.00% |
▷ Public constants | 12 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
34 PNG files occupy 0.54MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/lib/cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
includes/lib/cmb2-tabs-master/screenshots/options-page-horizontal.png | 74.00KB | 14.74KB | ▼ 80.09% |
assets/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
includes/lib/cmb2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/images/ui-icons_777620_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |