Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼10.23ms] Passed 4 tests
This is a short check of server-side resources used by Flowplayer Playlist
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 26.04 ▼24.77 |
Dashboard /wp-admin | 3.36 ▲0.06 | 49.13 ▼1.24 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.33 ▲0.41 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.99 ▼13.05 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.59 ▼1.84 |
Add New /wp-admin/post-new.php?post_type=flplaylist | 3.32 | 45.96 |
FlPlaylist /wp-admin/edit.php?post_type=flplaylist | 3.32 | 37.76 |
Configuration /wp-admin/edit.php?post_type=flplaylist&page=flplaylist-configuration-page | 3.25 | 34.25 |
Server storage [IO: ▲0.99MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Flowplayer Playlist
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲143 | 13.45 ▼0.90 | 9.49 ▲7.83 | 38.41 ▼4.78 |
Dashboard /wp-admin | 2,229 ▲52 | 5.57 ▼0.03 | 83.74 ▼8.29 | 42.04 ▼2.58 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.95 ▼0.05 | 37.06 ▲0.13 | 33.78 ▼2.69 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.67 ▲0.04 | 660.93 ▼46.27 | 59.48 ▲1.83 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.22 ▲0.08 | 94.62 ▼15.55 | 43.26 ▼4.18 |
Add New /wp-admin/post-new.php?post_type=flplaylist | 1,559 | 2.62 | 48.20 | 51.92 |
FlPlaylist /wp-admin/edit.php?post_type=flplaylist | 1,077 | 1.98 | 32.09 | 29.70 |
Configuration /wp-admin/edit.php?post_type=flplaylist&page=flplaylist-configuration-page | 843 | 2.03 | 23.29 | 29.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function Eye8\\FlPlaylist\\plugin_dir_path() in wp-content/plugins/flowplayer-playlist/flowplayer-playlist.php:28
- > PHP Fatal error
Uncaught Error: Class 'Eye8\\FlPlaylist\\Plugin' not found in wp-content/plugins/flowplayer-playlist/PlaylistManager.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function Eye8\\FlPlaylist\\add_action() in wp-content/plugins/flowplayer-playlist/admin.php:24
- > PHP Fatal error
Uncaught Error: Class 'Eye8\\FlPlaylist\\Plugin' not found in wp-content/plugins/flowplayer-playlist/Flowplayer.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Each playlist is a custom post type. Create as many playlists as you like.), #2 (Customize each playlist by specifying width, height, autoplay, and autobuffering. Add as many videos as you like (you can use Youtube videos!), each URL in a new line. Update the videos whenever you need to.), #3 (Save your Flowplayer license key to use the commercial player without the Flowplayer logo. Only one license key is needed for all multisites under the same root domain.), #4 (Use a simple shortcode to embed the playlist in any post or page.), #5 (Both Youtube and progressive download videos are supported.)
flowplayer-playlist/flowplayer-playlist.php Passed 13 tests
"Flowplayer Playlist" version 0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
60 characters long description:
Embed Flash video in Wordpress using Flowplayer v.3 (Flash).
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
Good job! No executable or dangerous file extensions detected375 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 134 | 20 | 374 |
JavaScript | 1 | 0 | 23 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 4.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 1 | 20.00% |
▷ Concrete classes | 4 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 1 | 4.17% |
▷ Public methods | 23 | 95.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.17% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.48MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 54.59KB | 19.57KB | ▼ 64.15% |
screenshot-4.png | 53.02KB | 23.79KB | ▼ 55.13% |
screenshot-2.png | 67.26KB | 19.95KB | ▼ 70.34% |
screenshot-5.png | 250.75KB | 88.37KB | ▼ 64.76% |
screenshot-1.png | 60.96KB | 26.32KB | ▼ 56.82% |