Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼4.93ms] Passed 4 tests
Server-side resources used by AWEOS YouTube load per click
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 36.41 ▼1.11 |
Dashboard /wp-admin | 3.44 ▲0.13 | 47.45 ▼0.13 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 54.24 ▲9.69 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 73.33 ▼18.96 |
Media Library /wp-admin/upload.php | 3.38 ▲0.14 | 34.68 ▲0.49 |
Server storage [IO: ▲1.98MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
AWEOS YouTube load per click: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲130 | 13.38 ▼0.78 | 8.08 ▲6.48 | 36.87 ▼4.28 |
Dashboard /wp-admin | 2,214 ▲37 | 5.63 ▲0.05 | 94.78 ▲0.03 | 41.76 ▲1.88 |
Posts /wp-admin/edit.php | 2,113 ▲16 | 2.03 ▲0.07 | 40.01 ▲3.21 | 35.51 ▲2.06 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.15 ▼0.01 | 676.15 ▲42.50 | 60.96 ▲4.31 |
Media Library /wp-admin/upload.php | 1,416 ▲13 | 4.13 ▼0.08 | 109.33 ▲15.81 | 46.81 ▲4.47 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Please take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Interface 'Zend\\Dom\\Exception\\ExceptionInterface' not found in wp-content/plugins/aweos-youtube-iframe-load-per-click/vendor/zendframework/zend-dom/src/Exception/BadMethodCallException.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Zend\\Dom\\Exception\\ExceptionInterface' not found in wp-content/plugins/aweos-youtube-iframe-load-per-click/vendor/zendframework/zend-dom/src/Exception/RuntimeException.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (English) image not found
aweos-youtube-iframe-load-per-click/aweos-youtube-iframe-load-per-click.php 92% from 13 tests
Analyzing the main PHP file in "AWEOS YouTube load per click" version 1.0.3
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
There were no executable files found in this plugin3,065 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 1 | 1,697 |
PHP | 21 | 33,799 | 54,472 | 1,119 |
JSON | 3 | 0 | 0 | 108 |
Markdown | 3 | 45 | 0 | 85 |
JavaScript | 1 | 4 | 10 | 30 |
CSS | 1 | 5 | 10 | 26 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 9.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 87 | |
▷ Static methods | 7 | 8.05% |
▷ Public methods | 79 | 90.80% |
▷ Protected methods | 7 | 8.05% |
▷ Private methods | 1 | 1.15% |
Functions | 14 | |
▷ Named functions | 7 | 50.00% |
▷ Anonymous functions | 7 | 50.00% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 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
No PNG images were found in this plugin