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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.30ms] Passed 4 tests
An overview of server-side resources used by Guides for WordPress and Woocommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 44.07 ▲1.48 |
Dashboard /wp-admin | 3.37 ▲0.07 | 51.78 ▼3.69 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 49.19 ▲0.04 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 91.38 ▲0.98 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 40.09 ▲4.43 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Guides for WordPress and Woocommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,963 ▲217 | 13.39 ▼1.27 | 2.15 ▲0.37 | 38.97 ▼6.68 |
Dashboard /wp-admin | 2,345 ▲160 | 4.96 ▼0.89 | 108.27 ▼7.90 | 42.10 ▼3.25 |
Posts /wp-admin/edit.php | 2,180 ▲109 | 2.04 ▲0.02 | 42.55 ▲5.32 | 36.68 ▲1.41 |
Add New Post /wp-admin/post-new.php | 1,603 ▲89 | 23.15 ▲5.70 | 672.83 ▼24.34 | 58.94 ▲3.33 |
Media Library /wp-admin/upload.php | 1,476 ▲88 | 4.27 ▲0.06 | 102.56 ▼3.31 | 42.53 ▼2.70 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/dcs-digital-guides/admin/partials/dashboard/dcs-welcome-widget.php
- > /wp-content/plugins/dcs-digital-guides/admin/partials/dcs-digital-guides-admin-display.php
- > /wp-content/plugins/dcs-digital-guides/public/partials/dcs-digital-guides-public-display.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant DCS_DIGITAL_GUIDES_PLUGIN_URL - assumed 'DCS_DIGITAL_GUIDES_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/dcs-digital-guides/admin/partials/dashboard/dcs-welcome-widget.php on line 15
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
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
2 plugin tags: guides, tutorials
dcs-digital-guides/dcs-digital-guides.php Passed 13 tests
The primary PHP file in "Guides for WordPress and Woocommerce" version 1.0.0 is used by WordPress to initiate all plugin functionality
94 characters long description:
Provides contextual video tutorials and guides for WordPress, Woocommerce and popular plugins.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin320 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 128 | 558 | 204 |
CSS | 2 | 11 | 4 | 84 |
JavaScript | 2 | 20 | 58 | 32 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 2 | 7.69% |
▷ Public methods | 21 | 80.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 19.23% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin