Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.31MB] [CPU: ▼4.01ms] Passed 4 tests
An overview of server-side resources used by Video List Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.29 | 47.67 ▲4.18 |
Dashboard /wp-admin | 3.67 ▲0.37 | 56.41 ▲2.14 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 51.63 ▼4.03 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 88.17 ▼16.76 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 43.94 ▲2.63 |
Add Cateogry /wp-admin/admin.php?page=tnt_video_cat_add_page | 3.48 | 37.68 |
About Author /wp-admin/admin.php?page=tnt_video_rate_page | 3.48 | 32.51 |
Edit Video /wp-admin/admin.php?page=tnt_video_edit_page | 3.48 | 35.24 |
Delete Video /wp-admin/admin.php?page=tnt_video_del_page | 3.48 | 36.01 |
Edit Category /wp-admin/admin.php?page=tnt_video_cat_edit_page | 3.48 | 32.46 |
Settings /wp-admin/admin.php?page=tnt_video_option_page | 3.48 | 33.99 |
Add Video /wp-admin/admin.php?page=tnt_video_add_page | 3.48 | 32.33 |
Categories /wp-admin/admin.php?page=tnt_video_cat_manager_page | 3.48 | 33.07 |
Videos Manager /wp-admin/admin.php?page=tnt_video_manage_page | 3.48 | 33.42 |
Delete Category /wp-admin/admin.php?page=tnt_video_cat_del_page | 3.48 | 32.16 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 66 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_tnt_videos |
wp_tnt_videos_cat |
wp_tnt_videos_type |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
tnt_video_list_manager_db_version |
theysaidso_admin_options |
tntVideoManageOptions |
Browser metrics Passed 4 tests
Checking browser requirements for Video List Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,091 ▲330 | 13.67 ▼0.87 | 14.69 ▲12.66 | 50.68 ▲4.35 |
Dashboard /wp-admin | 2,249 ▲69 | 5.75 ▲0.18 | 102.80 ▲7.15 | 84.22 ▲41.73 |
Posts /wp-admin/edit.php | 2,174 ▲71 | 2.10 ▲0.15 | 38.26 ▼4.90 | 35.82 ▼1.70 |
Add New Post /wp-admin/post-new.php | 1,581 ▲53 | 23.39 ▲0.50 | 683.40 ▲31.05 | 57.75 ▲3.64 |
Media Library /wp-admin/upload.php | 1,465 ▲65 | 4.40 ▲0.20 | 115.75 ▲2.88 | 69.92 ▲21.47 |
Add Cateogry /wp-admin/admin.php?page=tnt_video_cat_add_page | 889 | 1.69 | 25.93 | 28.15 |
About Author /wp-admin/admin.php?page=tnt_video_rate_page | 910 | 2.12 | 28.84 | 27.50 |
Edit Video /wp-admin/admin.php?page=tnt_video_edit_page | 733 | 1.51 | 6.75 | 22.48 |
Delete Video /wp-admin/admin.php?page=tnt_video_del_page | 733 | 1.12 | 6.95 | 21.95 |
Edit Category /wp-admin/admin.php?page=tnt_video_cat_edit_page | 733 | 1.12 | 7.10 | 19.82 |
Settings /wp-admin/admin.php?page=tnt_video_option_page | 1,154 | 1.90 | 32.03 | 29.72 |
Add Video /wp-admin/admin.php?page=tnt_video_add_page | 1,020 | 1.74 | 27.01 | 28.55 |
Categories /wp-admin/admin.php?page=tnt_video_cat_manager_page | 937 | 2.19 | 27.25 | 23.66 |
Videos Manager /wp-admin/admin.php?page=tnt_video_manage_page | 1,111 | 1.74 | 29.62 | 26.90 |
Delete Category /wp-admin/admin.php?page=tnt_video_cat_del_page | 733 | 1.51 | 7.49 | 19.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tnt_video_cat_del_page
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tnt_video_cat_del_page
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tnt_video_option_page
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/video-list-manager/includes/menus.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/video-list-manager/includes/message.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/video-list-manager/video-list-manager.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/video-list-manager/includes/shortcode.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/video-list-manager/includes/template.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tnt_video_manage_page
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/video-list-manager/js/admin.js?ver=1.0:48:24)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tnt_video_manage_page
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 93% 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
These attributes need to be fixed:
- Contributors: The plugin contributors field is missing
video-list-manager/video-list-manager.php 92% from 13 tests
The principal PHP file in "Video List Manager" v. 1.7 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 265 characters long)
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 plugin4,621 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 240 | 459 | 2,443 |
JavaScript | 5 | 303 | 176 | 1,893 |
CSS | 7 | 25 | 63 | 285 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 22.75 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 5 | 11.36% |
▷ Public methods | 44 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 39 | |
▷ Named functions | 39 | 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
29 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/skin2/images/controls.png | 0.56KB | 0.57KB | 0.00% |
css/skin4/images/border2.png | 0.17KB | 0.16KB | ▼ 2.35% |
css/skin4/images/ie6/borderBottomRight.png | 0.46KB | 0.54KB | 0.00% |
css/skin4/images/ie6/borderMiddleRight.png | 0.14KB | 0.16KB | 0.00% |
css/skin5/images/controls.png | 1.99KB | 2.04KB | 0.00% |