Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/all-in-one-services/wp-my-services.php+22
define(): Declaration of case-insensitive constants is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼52.74ms] Passed 4 tests
Server-side resources used by My Services
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 5.22 ▼34.87 |
Dashboard /wp-admin | 2.05 ▼1.26 | 10.32 ▼36.87 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 7.08 ▼41.00 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.34 ▼98.22 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.87 ▼29.44 |
Add Services /wp-admin/admin.php?page=add-services | 2.05 | 5.93 |
/wp-admin/admin.php?page=edit-services | 2.05 | 5.69 |
Add Clients /wp-admin/admin.php?page=add-clients | 2.05 | 5.22 |
Manage Access Users /wp-admin/admin.php?page=manage-access-users | 2.05 | 5.91 |
Service Tracker /wp-admin/admin.php?page=service-tracker | 2.05 | 4.64 |
View Services /wp-admin/admin.php?page=my-aio-services | 2.05 | 6.02 |
Manage Clients /wp-admin/admin.php?page=manage-clients | 2.05 | 5.18 |
Add Access Users /wp-admin/admin.php?page=add-access-users | 2.05 | 5.22 |
Server storage [IO: ▲1.62MB] [DB: ▲0.34MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 25 new files
Database: 4 new tables, 7 new options
New tables |
---|
wp_custom_my_serviceaccessible_users |
wp_custom_my_services_data |
wp_custom_my_serviceprivider_client |
wp_custom_my_service_access |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
my_service_page_id |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for My Services
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,871 ▲136 | 13.26 ▼1.11 | 2.15 ▲0.28 | 44.92 ▼5.35 |
Dashboard /wp-admin | 2,255 ▲67 | 5.87 ▼0.02 | 99.96 ▼4.71 | 38.31 ▼8.36 |
Posts /wp-admin/edit.php | 2,135 ▲46 | 2.04 ▲0.04 | 40.56 ▲1.53 | 35.77 ▲0.64 |
Add New Post /wp-admin/post-new.php | 1,576 ▲42 | 23.35 ▲0.19 | 677.43 ▲98.30 | 54.20 ▲0.83 |
Media Library /wp-admin/upload.php | 1,431 ▲40 | 4.23 ▲0.07 | 96.81 ▼2.24 | 42.71 ▲0.35 |
Add Services /wp-admin/admin.php?page=add-services | 1,192 | 3.68 | 54.19 | 52.20 |
/wp-admin/admin.php?page=edit-services | 1,199 | 3.60 | 59.97 | 30.02 |
Add Clients /wp-admin/admin.php?page=add-clients | 908 | 2.24 | 30.31 | 30.63 |
Manage Access Users /wp-admin/admin.php?page=manage-access-users | 998 | 2.77 | 43.07 | 42.48 |
Service Tracker /wp-admin/admin.php?page=service-tracker | 997 | 2.76 | 40.70 | 33.38 |
View Services /wp-admin/admin.php?page=my-aio-services | 998 | 2.78 | 42.64 | 34.91 |
Manage Clients /wp-admin/admin.php?page=manage-clients | 997 | 2.72 | 41.42 | 33.00 |
Add Access Users /wp-admin/admin.php?page=add-access-users | 923 | 2.27 | 28.90 | 29.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.33MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/all-in-one-services/wp-my-services.php+22
define(): Declaration of case-insensitive constants is deprecated
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
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)
These errors were triggered by the plugin
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=add-access-users
- > Deprecated in wp-content/plugins/all-in-one-services/wp-my-services.php+22
define(): Declaration of case-insensitive constants is deprecated
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=add-access-users
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=manage-clients
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=manage-clients
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see Debugging in WordPress for more information. (This message was added in version 4.8.3.)
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=edit-services
- > Notice in wp-content/plugins/all-in-one-services/views/edit-services.php+94
Trying to access array offset on value of type null
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=edit-services
- > Notice in wp-content/plugins/all-in-one-services/views/edit-services.php+138
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=manage-clients
- > Network (severe)
wp-content/plugins/all-in-one-services/assets/images/sort_both.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=manage-clients
- > Network (severe)
wp-content/plugins/all-in-one-services/assets/images/sort_asc.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please describe screenshot #5 in all-in-one-services/assets to your readme.txt
all-in-one-services/wp-my-services.php 77% from 13 tests
The main PHP script in "My Services" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Domain Path: The domain path folder does not exist ("/languages/")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("all-in-one-services.php" instead of "wp-my-services.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,965 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 563 | 94 | 1,258 |
JavaScript | 6 | 98 | 63 | 584 |
CSS | 5 | 27 | 39 | 123 |
PHP code Passed 2 tests
Analyzing 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.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There are no PNG files in this plugin