Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▲0.16ms] Passed 4 tests
A check of server-side resources used by Simple Video Info
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.94 ▲2.51 |
Dashboard /wp-admin | 3.33 ▲0.02 | 43.48 ▼4.66 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.34 ▲3.74 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 94.62 ▲1.53 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.20 ▲1.27 |
Simple Video Info /wp-admin/options-general.php?page=simple-video-info | 3.24 | 38.69 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Video Info
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲181 | 13.90 ▼0.39 | 9.52 ▲7.87 | 41.95 ▲0.52 |
Dashboard /wp-admin | 2,211 ▲20 | 5.81 ▲0.91 | 97.97 ▼0.60 | 38.01 ▼6.80 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.01 ▲0.02 | 38.73 ▲1.59 | 35.33 ▲0.08 |
Add New Post /wp-admin/post-new.php | 1,521 ▼13 | 17.63 ▼5.56 | 619.84 ▼38.87 | 54.41 ▲2.29 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.22 ▼0.02 | 92.19 ▼3.11 | 41.35 ▼5.27 |
Simple Video Info /wp-admin/options-general.php?page=simple-video-info | 916 | 2.02 | 33.41 | 40.95 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 25% 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
- > GET request to /wp-admin/options-general.php?page=simple-video-info
- > Notice in wp-content/plugins/simple-video-info/admin/class-simple-video-info-admin.php+126
Trying to access array offset on value of type bool
SRP 0% 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 items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/simple-video-info/public/partials/simple-video-info-public-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/simple-video-info/admin/partials/simple-video-info-admin-display.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: video stats, vimeo counter, video, vimeo, video counter...
simple-video-info/simple-video-info.php 92% from 13 tests
"Simple Video Info" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 141 characters long)
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
Good job! No executable or dangerous file extensions detected408 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 136 | 566 | 402 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 7 | 0 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 6.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 27 | 84.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.62% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.25MB with 0.15MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 73.31KB | 32.94KB | ▼ 55.06% |
assets/screenshot-1.png | 53.78KB | 20.11KB | ▼ 62.61% |
assets/screenshot-3.png | 130.88KB | 47.55KB | ▼ 63.67% |