Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▼1.77MB] [CPU: ▼60.92ms] Passed 4 tests
This is a short check of server-side resources used by Auto Youtube Summarize
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.23 ▼1.23 | 6.80 ▼45.76 |
Dashboard /wp-admin | 2.25 ▼1.09 | 7.74 ▼59.47 |
Posts /wp-admin/edit.php | 2.25 ▼1.11 | 7.80 ▼43.52 |
Add New Post /wp-admin/post-new.php | 2.25 ▼3.64 | 6.92 ▼94.91 |
Media Library /wp-admin/upload.php | 2.25 ▼0.98 | 6.64 ▼31.78 |
Auto Youtube Summarize /wp-admin/options-general.php?page=auto-youtube-summarize | 2.25 | 7.17 |
Force Video Extraction Now /wp-admin/options-general.php?page=exec_ays_get_movie | 2.25 | 8.76 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 21 new options
New WordPress options |
---|
ays_maxResults |
widget_recent-comments |
ays_afterTemplateText |
ays_commentTemplateText |
ays_postCommentCount |
ays_postTemplateText |
ays_publishedAfter |
widget_theysaidso_widget |
ays_commentCount |
ays_descriptionIndex |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Auto Youtube Summarize
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲53 | 14.26 ▼0.51 | 1.61 ▼0.74 | 43.72 ▼16.26 |
Dashboard /wp-admin | 2,203 ▲26 | 5.53 ▼0.08 | 84.38 ▼4.80 | 38.52 ▼4.41 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 1.97 ▼0.00 | 39.36 ▲0.97 | 35.55 ▲3.64 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 18.35 ▼4.73 | 699.48 ▲0.29 | 86.27 ▲21.87 |
Media Library /wp-admin/upload.php | 1,399 ▼1 | 4.20 ▲0.06 | 101.35 ▼17.14 | 42.17 ▼5.58 |
Auto Youtube Summarize /wp-admin/options-general.php?page=auto-youtube-summarize | 1,260 | 1.81 | 28.18 | 134.62 |
Force Video Extraction Now /wp-admin/options-general.php?page=exec_ays_get_movie | 764 | 1.99 | 25.01 | 26.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- This plugin did not uninstall successfully, leaving 21 options in the database
- ays_commentTemplateText
- ays_descriptionIndex
- ays_authkey
- ays_commentTemplateName
- ays_postTemplateText
- widget_recent-comments
- ays_keywords
- ays_afterTemplateText
- ays_postMovieDescription
- ays_postFirstContent
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=exec_ays_get_movie
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
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 fix the following items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/auto-youtube-summarize/admin/addon.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/auto-youtube-summarize/auto-youtube-summarize.php:27
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/auto-youtube-summarize/admin/index.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/auto-youtube-summarize/admin/setting.php:9
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/auto-youtube-summarize/admin/install.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2 in auto-youtube-summarize/assets to your readme.txt
auto-youtube-summarize/auto-youtube-summarize.php Passed 13 tests
This is the main PHP file of "Auto Youtube Summarize" version 1.2.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
62 characters long description:
This is a better and simple way to auto youtube summary posts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,296 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 147 | 152 | 945 |
PO File | 1 | 117 | 101 | 208 |
CSS | 2 | 28 | 11 | 142 |
JavaScript | 1 | 0 | 6 | 1 |
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.20 |
Average class complexity | 23.50 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 74.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 25.64% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.38MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/image/install_guide_4.png | 18.47KB | 9.00KB | ▼ 51.27% |
includes/image/install_guide_2.png | 87.95KB | 44.23KB | ▼ 49.71% |
includes/image/install_guide_5.png | 146.52KB | 75.81KB | ▼ 48.26% |
includes/image/install_guide_3.png | 92.58KB | 39.58KB | ▼ 57.25% |
includes/image/install_guide_1.png | 38.74KB | 17.29KB | ▼ 55.37% |