Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > User notice in wp-includes/functions.php+5768
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: ▼2.51MB] [CPU: ▼353.70ms] Passed 4 tests
This is a short check of server-side resources used by Auto Youtube Summarize
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.86 ▼1.65 | 5.56 ▼54.37 |
Dashboard /wp-admin | 1.88 ▼1.53 | 5.74 ▼31.50 |
Posts /wp-admin/edit.php | 1.88 ▼1.76 | 4.95 ▼38.19 |
Add New Post /wp-admin/post-new.php | 1.88 ▼5.12 | 5.79 ▼1,290.74 |
Media Library /wp-admin/upload.php | 1.88 ▼1.41 | 4.87 ▼28.24 |
Force Video Extraction Now /wp-admin/options-general.php?page=exec_ays_get_movie | 1.88 | 5.60 |
Auto Youtube Summarize /wp-admin/options-general.php?page=auto-youtube-summarize | 1.88 | 5.89 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 15 new options
New WordPress options |
---|
ays_authkey |
ays_descriptionIndex |
ays_maxResults |
ays_afterTemplateText |
ays_order |
ays_publishedAfter |
ays_postCommentCount |
ays_postMovieDescription |
ays_commentTemplateName |
ays_postFirstContent |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Auto Youtube Summarize
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲41 | 15.43 ▼0.64 | 10.24 ▲2.14 | 3.00 ▼0.36 |
Dashboard /wp-admin | 2,902 ▲41 | 6.15 ▼0.06 | 140.39 ▼21.74 | 181.58 ▼6.86 |
Posts /wp-admin/edit.php | 2,695 ▲10 | 3.23 ▼0.01 | 71.86 ▼0.28 | 166.03 ▲6.33 |
Add New Post /wp-admin/post-new.php | 1,723 ▲88 | 14.58 ▼6.01 | 534.17 ▲49.32 | 178.61 ▲3.62 |
Media Library /wp-admin/upload.php | 1,705 ▲10 | 5.45 ▼0.08 | 202.13 ▲24.94 | 253.42 ▲23.96 |
Force Video Extraction Now /wp-admin/options-general.php?page=exec_ays_get_movie | 964 | 2.37 | 65.84 | 106.53 |
Auto Youtube Summarize /wp-admin/options-general.php?page=auto-youtube-summarize | 1,694 | 2.77 | 63.01 | 339.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5768
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.)
- The uninstall procedure has failed, leaving 15 options in the database
- ays_commentCount
- ays_postCommentCount
- ays_descriptionIndex
- ays_maxResults
- ays_postMovieDescription
- ays_postFirstContent
- ays_commentTemplateName
- ays_authkey
- ays_keywords
- ays_commentName
- ...
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
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=auto-youtube-summarize
- > User notice in wp-includes/functions.php+5768
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 take a closer look at the following
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > 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/index.php:2
- > 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: Using $this when not in object context in wp-content/plugins/auto-youtube-summarize/admin/install.php:4
- > 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
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 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2 in auto-youtube-summarize/assets to your readme.txt
auto-youtube-summarize/auto-youtube-summarize.php Passed 13 tests
"Auto Youtube Summarize" version 1.2.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
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 | There should be no dangerous file extensions present in any WordPress 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
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
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
All PNG images should be compressed to minimize bandwidth usage for end users
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_1.png | 38.74KB | 17.29KB | ▼ 55.37% |
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_2.png | 87.95KB | 44.23KB | ▼ 49.71% |
includes/image/install_guide_4.png | 18.47KB | 9.00KB | ▼ 51.27% |