Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼5.80ms] Passed 4 tests
Server-side resources used by One Page Express Companion
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 39.95 ▼2.06 |
Dashboard /wp-admin | 3.57 ▲0.23 | 46.41 ▼17.55 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 50.57 ▲5.84 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 85.33 ▼3.79 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 35.00 ▲0.19 |
Server storage [IO: ▲2.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 135 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for One Page Express Companion
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.06 ▼0.24 | 1.86 ▲0.04 | 43.85 ▼3.93 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▼0.04 | 87.20 ▼8.53 | 40.30 ▼0.11 |
Posts /wp-admin/edit.php | 2,097 ▼0 | 1.96 ▲0.01 | 35.36 ▲1.14 | 33.18 ▼0.99 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.68 ▲0.44 | 691.18 ▼34.63 | 48.39 ▼6.83 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.14 ▼0.20 | 96.56 ▼18.39 | 39.56 ▼8.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 27× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'OnePageExpress\\Customizer\\BasePanel' not found in wp-content/plugins/one-page-express-companion/src/Customizer/Panels/FooterPanel.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/one-page-express-companion/theme-data/one-page-express/partials/header/content-on-left.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/one-page-express-companion/theme-data/one-page-express/partials/header/default.php:23
- > PHP Fatal error
Uncaught Error: Class 'OnePageExpress\\Customizer\\BaseControl' not found in wp-content/plugins/one-page-express-companion/src/Customizer/Controls/LabelControl.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Panel' not found in wp-content/plugins/one-page-express-companion/src/Customizer/BasePanel.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/one-page-express-companion/support/wp-5.8.php:2
- > PHP Fatal error
Uncaught Error: Class 'OnePageExpress\\Customizer\\Controls\\RowsListControl' not found in wp-content/plugins/one-page-express-companion/src/Customizer/Controls/ContentSectionsListControl.php:5
- > PHP Fatal error
Uncaught Error: Class 'OnePageExpress\\Customizer\\BaseSetting' not found in wp-content/plugins/one-page-express-companion/src/Customizer/Settings/ObjectSetting.php:5
- > PHP Fatal error
Uncaught Error: Class 'OnePageExpress\\Customizer\\Template' not found in wp-content/plugins/one-page-express-companion/theme-data/one-page-express/templates/home-page.php:1
- > PHP Fatal error
Uncaught Error: Class 'OnePageExpress\\Customizer\\Controls\\ColorBoxesControl' not found in wp-content/plugins/one-page-express-companion/src/Customizer/Controls/CssClassBoxesControl.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
1 plugin tags: onepage companion drag drop builder
one-page-express-companion/one-page-express-companion.php Passed 13 tests
The entry point to "One Page Express Companion" version 1.6.34 is a PHP file that has certain tags in its header comment area
114 characters long description:
The One Page Express Companion plugin adds drag and drop page builder functionality to the One Page Express theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected23,456 lines of code in 82 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 26 | 2,544 | 931 | 10,753 |
CSS | 8 | 1,215 | 228 | 7,099 |
PHP | 43 | 1,064 | 214 | 4,603 |
JSON | 5 | 0 | 0 | 1,001 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 16.37 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 123.00 |
Average method complexity | 3.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 27 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 206 | |
▷ Static methods | 45 | 21.84% |
▷ Public methods | 191 | 92.72% |
▷ Protected methods | 8 | 3.88% |
▷ Private methods | 7 | 3.40% |
Functions | 58 | |
▷ Named functions | 26 | 44.83% |
▷ Anonymous functions | 32 | 55.17% |
Constants | 8 | |
▷ Global constants | 3 | 37.50% |
▷ Class constants | 5 | 62.50% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
24 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
theme-data/one-page-express/sections/images/logo9.png | 7.10KB | 4.25KB | ▼ 40.15% |
theme-data/one-page-express/sections/images/logo10.png | 10.75KB | 4.82KB | ▼ 55.16% |
assets/images/cog.png | 0.33KB | 0.39KB | 0.00% |
assets/images/swap.png | 0.33KB | 0.38KB | 0.00% |
theme-data/one-page-express/sections/images/logo1.png | 9.05KB | 4.74KB | ▼ 47.55% |