Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.31MB] [CPU: ▼0.08ms] Passed 4 tests
Server-side resources used by Frames Video Player
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 39.39 ▼6.51 |
Dashboard /wp-admin | 3.70 ▲0.39 | 60.74 ▲11.66 |
Posts /wp-admin/edit.php | 3.74 ▲0.39 | 52.66 ▲4.84 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.31 | 88.18 ▼0.43 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 37.46 ▲1.78 |
Server storage [IO: ▲1.37MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 36 new files
Database: 3 new tables, 9 new options
New tables |
---|
wp_frames_themes |
wp_frames_videos |
wp_frames_playlists |
New WordPress options |
---|
frames_db_changes |
widget_recent-posts |
frames_vg_version |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_frames_vg_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Frames Video Player
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,993 ▲258 | 15.06 ▲0.68 | 1.60 ▼0.26 | 39.66 ▼3.66 |
Dashboard /wp-admin | 2,402 ▲211 | 6.43 ▲1.54 | 125.27 ▲24.42 | 42.33 ▼4.39 |
Posts /wp-admin/edit.php | 2,308 ▲219 | 3.35 ▲1.30 | 46.60 ▲3.58 | 30.03 ▼3.67 |
Add New Post /wp-admin/post-new.php | 1,571 ▲51 | 23.16 ▼0.01 | 579.68 ▼118.53 | 34.29 ▼10.09 |
Media Library /wp-admin/upload.php | 1,444 ▲56 | 4.18 ▼0.02 | 82.60 ▼18.89 | 42.62 ▼1.16 |
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
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_frames_videos
- wp_frames_playlists
- wp_frames_themes
- Zombie WordPress options detected upon uninstall: 9 options
- frames_db_changes
- widget_frames_vg_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- frames_vg_version
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 10× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/frames-video-gallery/admin/sanitizer.php
- > /wp-content/plugins/frames-video-gallery/front/templates/templates.php
- > /wp-content/plugins/frames-video-gallery/admin/templates/inputs.php
- > /wp-content/plugins/frames-video-gallery/engine/api.php
- > /wp-content/plugins/frames-video-gallery/engine/front.php
- > /wp-content/plugins/frames-video-gallery/engine/admin-side.php
- > /wp-content/plugins/frames-video-gallery/admin/schema.php
- > /wp-content/plugins/frames-video-gallery/frames.php
- > /wp-content/plugins/frames-video-gallery/admin/database/database.php
- > /wp-content/plugins/frames-video-gallery/admin/database/db.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/frames-video-gallery/admin/templates/templates.php:3
- > 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 83% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Tags: Please delete some tags, you are using 39 tag instead of maximum 10
frames-video-gallery/frames.php 69% from 13 tests
The main PHP file in "Frames Video Player" ver. 0.2.9.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("frames-video-gallery.php" instead of "frames.php")
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
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
No dangerous file extensions were detected10,041 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 1,296 | 392 | 5,404 |
CSS | 7 | 433 | 82 | 2,214 |
PHP | 11 | 449 | 22 | 1,857 |
SVG | 2 | 0 | 0 | 566 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 16.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 100 | |
▷ Static methods | 2 | 2.00% |
▷ Public methods | 99 | 99.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/frames.png | 0.21KB | 0.12KB | ▼ 41.98% |