Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.83ms] Passed 4 tests
A check of server-side resources used by Reusable Layouts for SiteOrigin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.83 ▼2.33 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.71 ▼9.08 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 47.29 ▲3.42 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 82.90 ▼11.06 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 31.50 ▼0.83 |
Reusable Layouts /wp-admin/edit.php?post_type=echelonso_layout | 3.31 | 37.20 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Reusable Layouts for SiteOrigin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 13.27 ▼1.04 | 1.79 ▼0.09 | 36.60 ▼8.96 |
Dashboard /wp-admin | 2,213 ▲22 | 5.88 ▲0.98 | 96.75 ▼5.44 | 36.83 ▼8.90 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.10 ▲0.10 | 40.06 ▲5.48 | 35.22 ▲0.82 |
Add New Post /wp-admin/post-new.php | 1,548 ▲12 | 18.45 ▼4.75 | 605.39 ▼37.49 | 55.30 ▲1.46 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.19 ▼0.07 | 96.82 ▼15.84 | 41.33 ▼5.69 |
Reusable Layouts /wp-admin/edit.php?post_type=echelonso_layout | 1,076 | 1.95 | 30.58 | 29.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/reusable-layouts-for-siteorigin/reusable-layouts-for-siteorigin.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function absint() in wp-content/plugins/reusable-layouts-for-siteorigin/widgets/eso-render-layout/tpl/tpl.php:2
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/reusable-layouts-for-siteorigin/widgets/eso-render-layout/eso-render-layout.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in reusable-layouts-for-siteorigin/assets to your readme.txt
- Requires php: Version format is invalid
reusable-layouts-for-siteorigin/reusable-layouts-for-siteorigin.php Passed 13 tests
The main PHP script in "Reusable Layouts for SiteOrigin" version 1.0.4 is automatically included on every request by WordPress
56 characters long description:
SiteOrigin layouts your can build once and use anywhere.
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
Everything looks great! No dangerous files found in this plugin119 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 34 | 40 | 119 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin