Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.87ms] Passed 4 tests
An overview of server-side resources used by 5centsCDN - WordPress CDN Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 36.22 ▼4.71 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.68 ▼5.15 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.90 ▲0.91 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.39 ▼2.53 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.57 ▲5.00 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 135 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for 5centsCDN - WordPress CDN Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲150 | 14.66 ▲0.38 | 1.88 ▲0.04 | 28.46 ▼14.21 |
Dashboard /wp-admin | 2,300 ▲126 | 5.43 ▼0.18 | 117.76 ▲15.49 | 121.06 ▲78.06 |
Posts /wp-admin/edit.php | 2,208 ▲108 | 2.69 ▲0.69 | 58.03 ▲22.44 | 61.32 ▲28.98 |
Add New Post /wp-admin/post-new.php | 1,629 ▲93 | 23.46 ▲0.45 | 623.79 ▲36.76 | 48.58 ▲0.96 |
Media Library /wp-admin/upload.php | 1,496 ▲96 | 5.03 ▲0.81 | 114.54 ▲17.33 | 87.28 ▲45.43 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 43× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/5centscdn/vendor/guzzlehttp/psr7/src/DroppingStream.php:10
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/5centscdn/vendor/guzzlehttp/promises/src/Coroutine.php:43
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/5centscdn/vendor/guzzlehttp/psr7/src/CachingStream.php:10
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/5centscdn/vendor/guzzlehttp/promises/src/TaskQueue.php:13
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/5centscdn/vendor/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/5centscdn/vendor/guzzlehttp/psr7/src/AppendStream.php:11
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Handler\\CurlFactoryInterface' not found in wp-content/plugins/5centscdn/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:15
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/5centscdn/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/5centscdn/vendor/guzzlehttp/psr7/src/InflateStream.php:17
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/5centscdn/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: cdn, cache, seo, performance, optimization...
5centscdn/5centscdn.php 92% from 13 tests
The entry point to "5centsCDN - WordPress CDN Plugin" version 23.11.20 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 510 characters long)
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
There were no executable files found in this plugin14,415 lines of code in 123 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 97 | 1,848 | 4,952 | 9,176 |
Markdown | 11 | 1,041 | 0 | 3,308 |
JavaScript | 1 | 287 | 27 | 786 |
CSS | 1 | 78 | 8 | 610 |
JSON | 8 | 0 | 0 | 491 |
SVG | 3 | 0 | 0 | 25 |
Dockerfile | 1 | 8 | 0 | 10 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 13.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 15 | |
Traits | 2 | |
Classes | 68 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 68 | 100.00% |
▷ Final classes | 9 | 13.24% |
Methods | 662 | |
▷ Static methods | 76 | 11.48% |
▷ Public methods | 541 | 81.72% |
▷ Protected methods | 6 | 0.91% |
▷ Private methods | 115 | 17.37% |
Functions | 162 | |
▷ Named functions | 75 | 46.30% |
▷ Anonymous functions | 87 | 53.70% |
Constants | 62 | |
▷ Global constants | 7 | 11.29% |
▷ Class constants | 55 | 88.71% |
▷ Public constants | 55 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/menu-icon.png | 0.97KB | 0.76KB | ▼ 21.23% |
assets/5centscdn.png | 6.22KB | 3.34KB | ▼ 46.28% |
assets/fivecent_logo.png | 3.60KB | 2.27KB | ▼ 36.76% |