Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.55MB] [CPU: ▼11.10ms] Passed 4 tests
This is a short check of server-side resources used by Service Tracker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 42.52 ▲4.80 |
Dashboard /wp-admin | 3.43 ▲0.12 | 64.18 ▲16.18 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 48.87 ▲5.09 |
Add New Post /wp-admin/post-new.php | 3.31 ▼2.57 | 37.09 ▼56.91 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.82 ▲2.63 |
Add New /wp-admin/post-new.php?post_type=services | 3.31 | 35.81 |
All Services /wp-admin/edit.php?post_type=services | 3.39 | 37.81 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
custom_roles_version |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Service Tracker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 14.73 ▲0.38 | 1.69 ▼0.16 | 46.37 ▲7.76 |
Dashboard /wp-admin | 2,236 ▲56 | 5.65 ▼0.03 | 97.00 ▲8.46 | 40.96 ▼0.62 |
Posts /wp-admin/edit.php | 2,138 ▲59 | 2.06 ▲0.04 | 36.11 ▼0.06 | 33.47 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,558 ▲30 | 23.30 ▲0.20 | 656.58 ▼25.02 | 65.02 ▲2.85 |
Media Library /wp-admin/upload.php | 1,438 ▲35 | 4.30 ▲0.08 | 105.25 ▲7.33 | 44.81 ▼0.69 |
Add New /wp-admin/post-new.php?post_type=services | 2,089 | 17.10 | 823.28 | 41.60 |
All Services /wp-admin/edit.php?post_type=services | 1,162 | 2.00 | 34.63 | 30.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- custom_roles_version
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 36 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=services
- > Notice in wp-content/plugins/service-tracker/service-tracker.php+396
Trying to access array offset on value of type null
- > GET request to /wp-admin/post-new.php?post_type=services
- > User notice in wp-includes/functions.php+5905
Function register_rest_route was called incorrectly. The REST API route definition for service/v2/update is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.)
- > GET request to /wp-admin/post-new.php?post_type=services
- > User notice in wp-includes/functions.php+5905
Function register_rest_route was called incorrectly. The REST API route definition for service/v2/list is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.)
- 9 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=services
- > Notice in wp-content/plugins/service-tracker/service-tracker.php+452
Undefined variable: user
- > GET request to /wp-admin/post-new.php?post_type=services
- > User notice in wp-includes/functions.php+5905
Function register_rest_route was called incorrectly. The REST API route definition for nonce/v2/verify is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.)
- > GET request to /wp-admin/post-new.php?post_type=services
- > User notice in wp-includes/functions.php+5905
Function register_rest_route was called incorrectly. The REST API route definition for userd/v2/list is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=services
- > Notice in wp-content/plugins/service-tracker/service-tracker.php+492
Trying to get property 'user_login' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=services
- > Notice in wp-content/plugins/service-tracker/service-tracker.php+493
Trying to get property 'user_email' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=services
- > Notice in wp-content/plugins/service-tracker/service-tracker.php+494
Trying to get property 'user_firstname' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=services
- > Notice in wp-content/plugins/service-tracker/service-tracker.php+495
Trying to get property 'user_lastname' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=services
- > Notice in wp-content/plugins/service-tracker/service-tracker.php+496
Trying to get property 'display_name' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=services
- > Notice in wp-content/plugins/service-tracker/service-tracker.php+497
Trying to get property 'ID' of non-object
- > GET request to /wp-admin/post-new.php?post_type=services
- > Notice in wp-content/plugins/service-tracker/service-tracker.php+148
Undefined variable: assigned
- > GET request to /wp-admin/post-new.php?post_type=services
- > Notice in wp-content/plugins/service-tracker/service-tracker.php+149
Undefined variable: intransit
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: jobs, status, work, manage services, service...
service-tracker/service-tracker.php 92% from 13 tests
The primary PHP file in "Service Tracker" version 1.0.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 200 characters long)
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 detected793 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 69 | 64 | 410 |
CSS | 1 | 43 | 44 | 383 |
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.23 |
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 | 21 | |
▷ Named functions | 15 | 71.43% |
▷ Anonymous functions | 6 | 28.57% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin