Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.12MB] [CPU: ▼11.27ms] Passed 4 tests
An overview of server-side resources used by Flowplayer Platform Embed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.13 ▲0.87 |
Dashboard /wp-admin | 3.40 ▲0.05 | 45.21 ▼19.35 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 48.68 ▲0.96 |
Add New Post /wp-admin/post-new.php | 5.29 ▼0.60 | 64.54 ▼27.22 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.38 ▲0.61 |
Flowplayer Embed /wp-admin/options-general.php?page=flowplayer_embed | 3.29 | 28.35 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Flowplayer Platform Embed
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.33 ▼1.26 | 1.73 ▼0.09 | 39.10 ▼0.97 |
Dashboard /wp-admin | 2,210 ▲22 | 6.06 ▲1.19 | 107.33 ▼49.44 | 42.77 ▼16.82 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▲0.00 | 40.75 ▲0.33 | 34.78 ▼5.40 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 22.98 ▼0.21 | 654.45 ▼7.54 | 51.30 ▼1.56 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.21 ▼0.02 | 115.44 ▲14.08 | 47.66 ▲6.08 |
Flowplayer Embed /wp-admin/options-general.php?page=flowplayer_embed | 801 | 2.03 | 25.46 | 26.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 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
6 plugin tags: mp4, flowplayer, hsl, video, webm...
flowplayer-platform-embed/flowplayer-embed.php 77% from 13 tests
The main file in "Flowplayer Platform Embed" v. 0.3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: Name the main plugin file the same as the plugin slug ("flowplayer-platform-embed.php" instead of "flowplayer-embed.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin960 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 105 | 119 | 602 |
JavaScript | 6 | 62 | 18 | 344 |
JSON | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 36 | |
▷ Named functions | 31 | 86.11% |
▷ Anonymous functions | 5 | 13.89% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin