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
Install script ran successfully
Server metrics [RAM: ▼0.12MB] [CPU: ▼37.24ms] Passed 4 tests
An overview of server-side resources used by CloudFlare Rocket Loader Ignore
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▼0.01 | 80.16 ▼25.86 |
Dashboard /wp-admin | 3.32 ▲0.01 | 77.11 ▼20.06 |
Posts /wp-admin/edit.php | 3.37 ▼0.48 | 80.30 ▼26.75 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 150.29 ▼76.27 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 62.00 ▼12.07 |
CloudFlare Rocket Loader Ignore /wp-admin/options-general.php?page=cloudflare-rocket-loader-ignore | 3.23 | 56.67 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
cfrli |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for CloudFlare Rocket Loader Ignore
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲48 | 14.30 ▲0.14 | 4.64 ▲0.16 | 90.91 ▼0.97 |
Dashboard /wp-admin | 2,210 ▲28 | 5.88 ▲0.97 | 173.96 ▼25.16 | 91.35 ▲3.13 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.99 ▼0.04 | 67.85 ▼12.31 | 86.09 ▲0.49 |
Add New Post /wp-admin/post-new.php | 1,401 ▲4 | 17.91 ▲0.23 | 949.93 ▼126.20 | 90.31 ▼13.99 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.20 ▲0.03 | 198.08 ▲10.92 | 99.31 ▲0.56 |
CloudFlare Rocket Loader Ignore /wp-admin/options-general.php?page=cloudflare-rocket-loader-ignore | 891 | 2.01 | 45.85 | 100.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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 fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/cloudflare-rocket-loader-ignore/cfrli.php:20
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: script, javascript, ignore, rocket loader, cloudflare
cloudflare-rocket-loader-ignore/cfrli.php 92% from 13 tests
The entry point to "CloudFlare Rocket Loader Ignore" version 0.0.6 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("cloudflare-rocket-loader-ignore.php" instead of "cfrli.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin280 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 35 | 110 | 275 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/settings.png | 2.11KB | 2.31KB | 0.00% |
images/support.png | 5.03KB | 2.79KB | ▼ 44.54% |
images/redcloud.png | 1.07KB | 1.00KB | ▼ 6.40% |
images/parameters.png | 3.48KB | 2.94KB | ▼ 15.45% |