Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼10.38ms] Passed 4 tests
Analyzing server-side resources used by Video Checkmark
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.96 ▼1.46 |
Dashboard /wp-admin | 3.31 ▼0.03 | 44.60 ▼15.51 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.52 ▼3.32 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 81.65 ▼18.61 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 32.33 ▼4.06 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Just a few items left to fix
- The plugin illegally modified 1 file (12.00KB) outside of "wp-content/plugins/video-checkmark/" and "wp-content/uploads/"
- (new file) wp-content/data/video_checkmark.sqlite
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Video Checkmark
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.21 ▼1.00 | 1.81 ▲0.20 | 41.36 ▲2.96 |
Dashboard /wp-admin | 2,209 ▲24 | 4.82 ▼1.02 | 102.56 ▲0.96 | 39.86 ▼4.34 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.04 ▼0.01 | 34.38 ▼7.05 | 35.05 ▼0.13 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.12 ▲4.78 | 674.81 ▲65.44 | 49.69 ▼14.65 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.21 ▼0.04 | 95.23 ▲0.11 | 40.60 ▼2.03 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/video-checkmark/video-checkmark.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Screenshot #1 (#) image missing
video-checkmark/video-checkmark.php Passed 13 tests
The main PHP script in "Video Checkmark" version 1.0 is automatically included on every request by WordPress
87 characters long description:
Adds a new "Video" column to the posts table for easier track which posts contain video
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin141 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 22 | 23 | 124 |
JavaScript | 2 | 1 | 0 | 12 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin