Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.53MB] [CPU: ▼6.08ms] Passed 4 tests
Analyzing server-side resources used by RocketCDN - WordPress CDN Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.00 ▲0.54 | 43.77 ▲3.83 |
Dashboard /wp-admin | 3.88 ▲0.54 | 46.61 ▼17.98 |
Posts /wp-admin/edit.php | 3.93 ▲0.58 | 49.59 ▲2.16 |
Add New Post /wp-admin/post-new.php | 6.40 ▲0.52 | 84.20 ▼11.51 |
Media Library /wp-admin/upload.php | 3.74 ▲0.52 | 37.83 ▲3.01 |
RocketCDN /wp-admin/options-general.php?page=rocketcdn | 3.72 | 34.78 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 183 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
RocketCDN - WordPress CDN Plugin: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲60 | 13.73 ▼1.06 | 1.77 ▼0.30 | 46.66 ▲3.87 |
Dashboard /wp-admin | 2,234 ▲46 | 5.84 ▲0.98 | 98.73 ▼8.10 | 40.81 ▲0.15 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.04 ▼0.11 | 35.28 ▼6.48 | 34.40 ▼1.43 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 17.70 ▼0.53 | 689.49 ▲35.36 | 58.92 ▲3.63 |
Media Library /wp-admin/upload.php | 1,422 ▲40 | 4.25 ▲0.01 | 96.11 ▼1.58 | 42.03 ▲0.65 |
RocketCDN /wp-admin/options-general.php?page=rocketcdn | 927 | 2.05 | 23.25 | 42.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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 133× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/rocketcdn/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/rocketcdn/vendor/composer/installers/src/Composer/Installers/AglInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/rocketcdn/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/rocketcdn/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php:26
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/rocketcdn/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/rocketcdn/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'RocketCDN\\Dependencies\\League\\Container\\ServiceProvider\\AbstractServiceProvider' not found in wp-content/plugins/rocketcdn/src/API/ServiceProvider.php:8
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/rocketcdn/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/rocketcdn/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/rocketcdn/vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: cdn plugin, cdn performance, wordpress cdn plugin, cdn, content delivery network...
rocketcdn/rocketcdn.php Passed 13 tests
This is the main PHP file of "RocketCDN - WordPress CDN Plugin" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
127 characters long description:
RocketCDN automatically rewrites all URLs to be served by our content delivery network (CDN). Easy CDN deployment to WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected5,883 lines of code in 180 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 168 | 1,132 | 2,386 | 4,916 |
CSS | 2 | 67 | 0 | 383 |
JSON | 3 | 0 | 0 | 370 |
YAML | 3 | 31 | 3 | 123 |
JavaScript | 1 | 28 | 1 | 88 |
SVG | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 3.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 16 | |
Traits | 2 | |
Classes | 138 | |
▷ Abstract classes | 3 | 2.17% |
▷ Concrete classes | 135 | 97.83% |
▷ Final classes | 0 | 0.00% |
Methods | 346 | |
▷ Static methods | 23 | 6.65% |
▷ Public methods | 282 | 81.50% |
▷ Protected methods | 38 | 10.98% |
▷ Private methods | 26 | 7.51% |
Functions | 15 | |
▷ Named functions | 2 | 13.33% |
▷ Anonymous functions | 13 | 86.67% |
Constants | 6 | |
▷ Global constants | 1 | 16.67% |
▷ Class constants | 5 | 83.33% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin