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
Installer ran successfully
Server metrics [RAM: ▲0.59MB] [CPU: ▼6.00ms] Passed 4 tests
Analyzing server-side resources used by WooCommerce Digital Content Delivery (incl. DRM) - FlickRocket
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.10 ▲0.63 | 38.31 ▼3.84 |
Dashboard /wp-admin | 3.93 ▲0.59 | 50.40 ▼12.50 |
Posts /wp-admin/edit.php | 3.98 ▲0.63 | 48.15 ▲3.37 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.57 | 84.66 ▼10.09 |
Media Library /wp-admin/upload.php | 3.79 ▲0.56 | 38.74 ▲2.42 |
Marketplace /wp-admin/admin.php?page=fr_marketplace | 3.76 | 34.60 |
Groups /wp-admin/admin.php?page=content_access_groups | 3.76 | 32.90 |
Settings /wp-admin/admin.php?page=fr_settings_link | 3.76 | 35.55 |
Content Access Groups /wp-admin/users.php?page=content_access_groups | 3.76 | 33.53 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
fr_last_version |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Digital Content Delivery (incl. DRM) - FlickRocket
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,991 ▲230 | 13.58 ▼0.77 | 8.64 ▲6.85 | 40.34 ▼3.20 |
Dashboard /wp-admin | 2,288 ▲114 | 5.69 ▲0.15 | 81.33 ▼10.09 | 74.57 ▲34.83 |
Posts /wp-admin/edit.php | 2,205 ▲108 | 2.20 ▲0.20 | 34.97 ▲0.28 | 32.76 ▼7.39 |
Add New Post /wp-admin/post-new.php | 1,769 ▲243 | 22.07 ▼1.58 | 641.88 ▼30.08 | 45.44 ▼17.06 |
Media Library /wp-admin/upload.php | 1,495 ▲92 | 4.40 ▲0.23 | 99.93 ▲1.79 | 78.49 ▲36.21 |
Marketplace /wp-admin/admin.php?page=fr_marketplace | 1,390 | 2.99 | 50.90 | 76.10 |
Groups /wp-admin/admin.php?page=content_access_groups | 895 | 1.90 | 31.16 | 23.94 |
Settings /wp-admin/admin.php?page=fr_settings_link | 887 | 1.78 | 26.03 | 23.08 |
Content Access Groups /wp-admin/users.php?page=content_access_groups | 895 | 1.78 | 28.01 | 23.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/woocommerce-digital-content-delivery-with-drm-flickrocket/woocommerce-flickrocket.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== woocommerce-digital-content-delivery-with-drm-flickrocket ===
) - Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
woocommerce-digital-content-delivery-with-drm-flickrocket/woocommerce-flickrocket.php 77% from 13 tests
"WooCommerce Digital Content Delivery (incl. DRM) - FlickRocket" version 4.66's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 309 characters long)
- Requires at least: The required version number must match the one declared in readme.txt ("3.0.1" instead of "2.6.0")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woocommerce-digital-content-delivery-with-drm-flickrocket.php" instead of "woocommerce-flickrocket.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
No dangerous file extensions were detected34,700 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 30,124 |
PHP | 11 | 676 | 946 | 2,876 |
JavaScript | 2 | 128 | 72 | 1,101 |
PO File | 1 | 132 | 176 | 470 |
HTML | 1 | 10 | 0 | 57 |
CSS | 1 | 0 | 1 | 48 |
SVG | 1 | 0 | 1 | 24 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 57.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 147.00 |
Average method complexity | 4.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 100.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 104 | |
▷ Static methods | 92 | 88.46% |
▷ Public methods | 102 | 98.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.92% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 22 | 100.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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/close-icon.png | 3.43KB | 1.12KB | ▼ 67.21% |
images/fr_logo.png | 1.23KB | 1.05KB | ▼ 14.31% |