Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼29.38ms] Passed 4 tests
Server-side resources used by OneDS Start Package
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.40 | 22.94 ▼15.84 |
Dashboard /wp-admin | 4.10 ▲0.80 | 29.16 ▼18.25 |
Posts /wp-admin/edit.php | 4.11 ▲0.74 | 25.49 ▼20.37 |
Add New Post /wp-admin/post-new.php | 4.10 ▼1.79 | 27.22 ▼63.04 |
Media Library /wp-admin/upload.php | 4.10 ▲0.87 | 24.29 ▼9.77 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 4.11 | 26.09 |
Add New /wp-admin/post-new.php?post_type=optionspage | 4.11 | 24.18 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 4.11 | 23.75 |
Options Pages /wp-admin/edit.php?post_type=optionspage | 4.11 | 24.84 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 4.11 | 23.43 |
Server storage [IO: ▲8.82MB] [DB: ▲0.05MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 279 new files
Database: no new tables, 8 new options
New WordPress options |
---|
odsmm-content-default |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
acf_version |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
OneDS Start Package: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,176 ▲415 | 14.19 ▼0.15 | 2.22 ▲0.43 | 31.25 ▼8.51 |
Dashboard /wp-admin | 2,538 ▲357 | 6.11 ▲0.40 | 123.79 ▲25.79 | 52.37 ▲10.00 |
Posts /wp-admin/edit.php | 2,244 ▲144 | 3.11 ▲1.13 | 49.66 ▲10.34 | 33.36 ▼1.78 |
Add New Post /wp-admin/post-new.php | 6,774 ▲5,248 | 24.11 ▲1.10 | 964.98 ▲373.99 | 50.39 ▲1.90 |
Media Library /wp-admin/upload.php | 2,033 ▲633 | 8.34 ▲4.02 | 217.72 ▲119.01 | 51.56 ▲11.20 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 1,245 | 2.91 | 42.78 | 31.52 |
Add New /wp-admin/post-new.php?post_type=optionspage | 2,178 | 8.54 | 150.52 | 33.97 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 2,405 | 3.89 | 77.53 | 67.18 |
Theme Options /wp-admin/theme-options.php | 26 | 0.42 | 0.09 | 15.31 |
Dashboard Options /wp-admin/dashboard-options.php | 26 | 0.42 | 0.09 | 6.83 |
Options Pages /wp-admin/edit.php?post_type=optionspage | 1,837 | 3.08 | 50.12 | 30.72 |
Maintenance Mode /wp-admin/maintenance-mode-options.php | 26 | 0.42 | 0.07 | 7.95 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 1,333 | 3.03 | 47.04 | 48.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 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
- > User notice in wp-includes/functions.php+5905
Function acf_get_value was called incorrectly. Advanced Custom Fields - We've detected one or more calls to retrieve ACF field values before ACF has been initialized. This is not supported and can result in malformed or missing data. Learn how to fix this. Please see Debugging in WordPress for more information. (This message was added in version 5.11.1.)
- Zombie WordPress options detected upon uninstall: 8 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- odsmm-content-default
- widget_recent-comments
- acf_version
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 14 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=acf-field-group
- > POST request to /wp-admin/admin-ajax.php
- > User notice in wp-includes/functions.php+5905
Function acf_get_value was called incorrectly. Advanced Custom Fields - We've detected one or more calls to retrieve ACF field values before ACF has been initialized. This is not supported and can result in malformed or missing data. Learn how to fix this. Please see Debugging in WordPress for more information. (This message was added in version 5.11.1.)
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
- 90× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/oneds-start/includes/acf/includes/admin/views/html-admin-page-upgrade.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/oneds-start/includes/acf/includes/upgrades.php:455
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/oneds-start/includes/acf/includes/fields/class-acf-field-output.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_add_filter_variations() in wp-content/plugins/oneds-start/includes/acf/includes/rest-api/acf-rest-api-functions.php:28
- > PHP Notice
Undefined variable: group_id in wp-content/plugins/oneds-start/includes/acf/includes/admin/views/html-location-group.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/oneds-start/includes/acf/includes/fields/class-acf-field-relationship.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/oneds-start/includes/admin-color-scheme.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/oneds-start/includes/oneds-options/includes/options-types/dashboard.php:36
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/oneds-start/includes/acf/includes/fields/class-acf-field-date_time_picker.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/oneds-start/includes/acf/includes/acf-input-functions.php:103
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/theme-options.php
- > Network (severe)
wp-admin/theme-options.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/dashboard-options.php
- > Network (severe)
wp-admin/dashboard-options.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/maintenance-mode-options.php
- > Network (severe)
wp-admin/maintenance-mode-options.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 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
10 plugin tags: admin color scheme, admin widgets, maintenance mode, options pages, hello...
oneds-start/oneds-start.php Passed 13 tests
The primary PHP file in "OneDS Start Package" version 0.5 is used by WordPress to initiate all plugin functionality
18 characters long description:
Just Start Package
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin116,581 lines of code in 225 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 32 | 24,170 | 41,423 | 49,433 |
JavaScript | 17 | 5,890 | 5,987 | 38,477 |
PHP | 154 | 8,918 | 18,600 | 20,283 |
CSS | 21 | 1,053 | 749 | 8,382 |
SVG | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 14.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 103 | |
▷ Abstract classes | 2 | 1.94% |
▷ Concrete classes | 101 | 98.06% |
▷ Final classes | 0 | 0.00% |
Methods | 753 | |
▷ Static methods | 1 | 0.13% |
▷ Public methods | 735 | 97.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 2.39% |
Functions | 492 | |
▷ Named functions | 489 | 99.39% |
▷ Anonymous functions | 3 | 0.61% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/acf/assets/inc/datepicker/images/ui-icons_444444_256x240.png | 3.68KB | 4.17KB | 0.00% |
includes/acf/assets/inc/select2/3/select2x2.png | 0.64KB | 0.77KB | 0.00% |
includes/acf/assets/inc/select2/3/select2.png | 0.51KB | 0.99KB | 0.00% |
includes/acf/assets/inc/datepicker/images/ui-bg_highlight-soft_0_ffffff_1x100.png | 0.08KB | 0.08KB | 0.00% |
includes/acf/assets/inc/datepicker/images/ui-icons_ffffff_256x240.png | 3.68KB | 4.17KB | 0.00% |