Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.65MB] [CPU: ▲2.50ms] Passed 4 tests
This is a short check of server-side resources used by Cute MediaInfo
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 41.94 ▲3.47 |
Dashboard /wp-admin | 4.12 ▲0.81 | 53.41 ▲5.80 |
Posts /wp-admin/edit.php | 4.17 ▲0.82 | 58.26 ▲13.14 |
Add New Post /wp-admin/post-new.php | 6.70 ▲0.81 | 93.10 ▼7.38 |
Media Library /wp-admin/upload.php | 3.96 ▲0.73 | 41.55 ▲8.10 |
Audio Languages /wp-admin/edit-tags.php?taxonomy=cutemi_audio_langs&post_type=cute_mediainfo | 4.11 | 80.14 |
Audio Techs /wp-admin/edit-tags.php?taxonomy=cutemi_audio_tech&post_type=cute_mediainfo | 4.10 | 86.01 |
Video Bitrate Modes /wp-admin/edit-tags.php?taxonomy=cutemi_video_bitrate_mode&post_type=cute_mediainfo | 4.09 | 65.21 |
Text Formats /wp-admin/edit-tags.php?taxonomy=cutemi_text_format&post_type=cute_mediainfo | 4.09 | 80.15 |
Text Languages /wp-admin/edit-tags.php?taxonomy=cutemi_text_langs&post_type=cute_mediainfo | 4.11 | 79.66 |
Audio Channels /wp-admin/edit-tags.php?taxonomy=cutemi_audio_channels&post_type=cute_mediainfo | 4.09 | 79.26 |
Video Resolutions /wp-admin/edit-tags.php?taxonomy=cutemi_video_resolution&post_type=cute_mediainfo | 4.10 | 87.29 |
Add New MediaInfo /wp-admin/post-new.php?post_type=cute_mediainfo | 4.45 | 139.51 |
Text Types /wp-admin/edit-tags.php?taxonomy=cutemi_text_type&post_type=cute_mediainfo | 4.08 | 59.78 |
Video Techs /wp-admin/edit-tags.php?taxonomy=cutemi_video_tech&post_type=cute_mediainfo | 4.09 | 80.88 |
Server storage [IO: ▲14.36MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 909 new files
Database: no new tables, 28 new options
New WordPress options |
---|
cutemi_text_format_children |
cutemi_css_integrity |
cutemi_svg_head_colorized |
cutemi_audio_tech_children |
widget_theysaidso_widget |
db_upgraded |
cutemi_profiles |
cutemi_audio_langs_children |
cutemi_hide_offline |
cutemi_pending_css |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cute MediaInfo
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,058 ▲323 | 14.80 ▲0.16 | 2.05 ▲0.23 | 36.09 ▼5.76 |
Dashboard /wp-admin | 2,430 ▲239 | 6.58 ▲0.49 | 128.68 ▲28.41 | 41.62 ▲0.74 |
Posts /wp-admin/edit.php | 2,336 ▲247 | 3.32 ▲1.34 | 55.14 ▲21.77 | 37.23 ▲3.60 |
Add New Post /wp-admin/post-new.php | 6,662 ▲5,143 | 22.02 ▼1.44 | 873.71 ▲191.27 | 39.76 ▼8.95 |
Media Library /wp-admin/upload.php | 1,478 ▲99 | 4.14 ▼0.03 | 84.05 ▼18.75 | 44.02 ▼0.05 |
Audio Languages /wp-admin/edit-tags.php?taxonomy=cutemi_audio_langs&post_type=cute_mediainfo | 3,630 | 3.15 | 47.71 | 75.81 |
Audio Techs /wp-admin/edit-tags.php?taxonomy=cutemi_audio_tech&post_type=cute_mediainfo | 2,092 | 3.27 | 43.80 | 87.05 |
Video Bitrate Modes /wp-admin/edit-tags.php?taxonomy=cutemi_video_bitrate_mode&post_type=cute_mediainfo | 1,757 | 3.27 | 39.36 | 73.60 |
Text Formats /wp-admin/edit-tags.php?taxonomy=cutemi_text_format&post_type=cute_mediainfo | 1,994 | 3.14 | 40.93 | 68.58 |
Text Languages /wp-admin/edit-tags.php?taxonomy=cutemi_text_langs&post_type=cute_mediainfo | 3,621 | 3.25 | 41.66 | 78.61 |
Audio Channels /wp-admin/edit-tags.php?taxonomy=cutemi_audio_channels&post_type=cute_mediainfo | 1,914 | 3.17 | 42.54 | 67.66 |
Video Resolutions /wp-admin/edit-tags.php?taxonomy=cutemi_video_resolution&post_type=cute_mediainfo | 1,970 | 3.17 | 41.33 | 66.88 |
Add New MediaInfo /wp-admin/post-new.php?post_type=cute_mediainfo | 4,358 | 4.78 | 142.13 | 47.65 |
Text Types /wp-admin/edit-tags.php?taxonomy=cutemi_text_type&post_type=cute_mediainfo | 1,715 | 3.29 | 42.61 | 70.92 |
Video Techs /wp-admin/edit-tags.php?taxonomy=cutemi_video_tech&post_type=cute_mediainfo | 1,938 | 3.26 | 41.23 | 72.94 |
Uninstaller [IO: ▲0.04MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 28 options
- widget_recent-comments
- cutemi_audio_tech_children
- cutemi_audio_langs_children
- cutemi_profiles
- cutemi_google_fonts
- cutemi_purge_on_uninstall
- cutemi_css_version
- widget_recent-posts
- cutemi_video_resolution_children
- cutemi_text_langs_children
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 38× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/cute-mediainfo/includes/class-cutemi-walker-taxonomy-single-term.php
- > /wp-content/plugins/cute-mediainfo/admin/class-cute-mediainfo-settings.php
- > /wp-content/plugins/cute-mediainfo/includes/links/link-sources/class-cutemi-clicknupload-data-extract.php
- > /wp-content/plugins/cute-mediainfo/includes/block/block.php
- > /wp-content/plugins/cute-mediainfo/cute-mediainfo.php
- > /wp-content/plugins/cute-mediainfo/includes/links/link-sources/class-cutemi-usersdrive-data-extract.php
- > /wp-content/plugins/cute-mediainfo/includes/links/link-sources/class-cutemi-dailyuploads-data-extract.php
- > /wp-content/plugins/cute-mediainfo/includes/links/link-sources/class-cutemi-katfile-data-extract.php
- > /wp-content/plugins/cute-mediainfo/admin/customizer/class-cutemi-fake-pages-preview.php
- > /wp-content/plugins/cute-mediainfo/includes/links/link-sources/class-cutemi-link-source-base.php
- 27× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
require(): Failed opening required 'CUTE_MEDIAINFO_DIR/admin/install/taxonomies/cutemi-site-source.php' (include_path='.:/usr/share/php') in wp-content/plugins/cute-mediainfo/admin/install/taxonomies/load-terms.php on line 5
- > PHP Notice
Undefined variable: mediainfo in wp-content/plugins/cute-mediainfo/templates/cutemi-excerpt-template.php on line 35
- > PHP Fatal error
Uncaught Error: Class 'CUTEMI_Taxonomy_Customs_Metas' not found in wp-content/plugins/cute-mediainfo/admin/includes/taxonomy-meta/class-cutemi-taxonomy-text-langs-metas.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cute-mediainfo/templates/cutemi-excerpt-template.php on line 35
- > PHP Fatal error
Uncaught Error: Class 'CUTEMI_Taxonomy_Customs_Metas' not found in wp-content/plugins/cute-mediainfo/admin/includes/taxonomy-meta/class-cutemi-taxonomy-video-bitrates-metas.php:3
- > PHP Warning
require(CUTE_MEDIAINFO_DIR/admin/install/taxonomies/cutemi-site-source.php): failed to open stream: No such file or directory in wp-content/plugins/cute-mediainfo/admin/install/taxonomies/load-terms.php on line 5
- > PHP Fatal error
require_once(): Failed opening required 'CUTE_MEDIAINFO_DIR/includes/color2filter/class-cutemi-color.php' (include_path='.:/usr/share/php') in wp-content/plugins/cute-mediainfo/includes/color2filter/color2filter.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'CUTEMI_Taxonomy_Customs_Metas' not found in wp-content/plugins/cute-mediainfo/admin/includes/taxonomy-meta/class-cutemi-taxonomy-video-resolutions-metas.php:3
- > PHP Fatal error
Uncaught Error: Class 'CUTEMI_Taxonomy_Customs_Metas' not found in wp-content/plugins/cute-mediainfo/admin/includes/taxonomy-meta/class-cutemi-taxonomy-audio-bitrate-modes-metas.php:3
- > PHP Fatal error
Uncaught Error: Class 'CUTEMI_Taxonomy_Customs_Metas' not found in wp-content/plugins/cute-mediainfo/admin/includes/taxonomy-meta/class-cutemi-taxonomy-audio-channels-metas.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: video info, video links, mediainfo
cute-mediainfo/cute-mediainfo.php Passed 13 tests
"Cute MediaInfo" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
65 characters long description:
Mediainfo for humans. Cute way to display video file information.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin38,949 lines of code in 881 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 103 | 2,105 | 2,093 | 32,232 |
JavaScript | 19 | 302 | 244 | 2,264 |
CSS | 6 | 214 | 55 | 2,146 |
PO File | 1 | 569 | 708 | 1,312 |
SVG | 749 | 0 | 0 | 848 |
Sass | 2 | 15 | 0 | 115 |
JSON | 1 | 0 | 0 | 32 |
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 problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 26.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 215.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 62 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 62 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 474 | |
▷ Static methods | 59 | 12.45% |
▷ Public methods | 405 | 85.44% |
▷ Protected methods | 4 | 0.84% |
▷ Private methods | 65 | 13.71% |
Functions | 72 | |
▷ Named functions | 55 | 76.39% |
▷ Anonymous functions | 17 | 23.61% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
14 PNG files occupy 0.61MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 10.14KB | 4.70KB | ▼ 53.62% |
admin/assets/jquery-ui/images/ui-icons_cc0000_256x240.png | 4.51KB | 4.18KB | ▼ 7.28% |
admin/assets/jquery-ui/images/ui-icons_000000_256x240.png | 5.45KB | 4.18KB | ▼ 23.29% |
admin/customizer/assets/transparency-grid.png | 2.58KB | 2.80KB | 0.00% |
admin/assets/jquery-ui/images/ui-icons_ffffff_256x240.png | 6.33KB | 4.18KB | ▼ 33.99% |