Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.47MB] [CPU: ▼3.69ms] Passed 4 tests
A check of server-side resources used by EP4 More Embeds
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 40.93 ▲0.26 |
Dashboard /wp-admin | 3.80 ▲0.50 | 49.74 ▲0.28 |
Posts /wp-admin/edit.php | 3.86 ▲0.50 | 47.83 ▼1.83 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.44 | 86.84 ▼13.45 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 40.48 ▲2.96 |
Embeds /wp-admin/options-general.php?page=ep4-more-embeds | 3.66 | 41.57 |
Server storage [IO: ▲0.15MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
ep4-more-embeds-providers |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
ep4-more-embeds-bandcamp |
widget_recent-posts |
ep4-more-embeds-box |
Browser metrics Passed 4 tests
This is an overview of browser requirements for EP4 More Embeds
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.31 ▲0.07 | 1.69 ▼0.19 | 39.33 ▼1.76 |
Dashboard /wp-admin | 2,202 ▲25 | 5.64 ▲0.06 | 84.67 ▼6.11 | 37.09 ▼4.66 |
Posts /wp-admin/edit.php | 2,104 ▲25 | 2.02 ▼0.00 | 35.35 ▼1.43 | 32.32 ▼5.93 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 22.75 ▲4.34 | 608.91 ▼15.95 | 47.12 ▼61.77 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.23 ▼0.06 | 111.98 ▲13.58 | 44.11 ▲2.72 |
Embeds /wp-admin/options-general.php?page=ep4-more-embeds | 1,087 | 3.38 | 55.24 | 27.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ep4-more-embeds/ep4-more-embeds.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Donate link: Invalid url: ""
ep4-more-embeds/ep4-more-embeds.php Passed 13 tests
"EP4 More Embeds" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
113 characters long description:
Support for more embedded content on your website. Current supported embeds are Bandcamp, Box.com, VEVO & Twitch.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,855 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 463 | 2,114 | 1,728 |
JavaScript | 2 | 22 | 9 | 69 |
CSS | 3 | 6 | 3 | 58 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 26.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 4.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 14 | 12.61% |
▷ Public methods | 85 | 76.58% |
▷ Protected methods | 9 | 8.11% |
▷ Private methods | 17 | 15.32% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin