Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.58ms] Passed 4 tests
Server-side resources used by Use Bunny DNS
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 37.59 ▼6.13 |
Dashboard /wp-admin | 3.39 ▲0.09 | 48.17 ▼2.70 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 46.55 ▼4.29 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 104.21 ▲2.00 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.38 ▼1.19 |
Server storage [IO: ▲0.52MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 151 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Use Bunny DNS
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲67 | 14.25 ▼0.02 | 2.17 ▲0.50 | 40.92 ▼2.54 |
Dashboard /wp-admin | 2,209 ▲38 | 5.63 ▼0.02 | 95.08 ▲0.68 | 48.19 ▲10.24 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.02 ▲0.01 | 42.02 ▲4.08 | 41.69 ▲5.90 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 22.91 ▼0.28 | 669.86 ▼7.83 | 52.03 ▲0.79 |
Media Library /wp-admin/upload.php | 1,417 ▲20 | 4.19 ▼0.03 | 94.88 ▼6.13 | 44.91 ▼0.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 98× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/use-bunny-dns/vendor/monolog/monolog/src/Monolog/Handler/TestHandler.php:73
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/use-bunny-dns/vendor/monolog/monolog/src/Monolog/Handler/ProcessHandler.php:27
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\Handler' not found in wp-content/plugins/use-bunny-dns/vendor/monolog/monolog/src/Monolog/Handler/FilterHandler.php:31
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\Handler' not found in wp-content/plugins/use-bunny-dns/vendor/monolog/monolog/src/Monolog/Handler/NullHandler.php:28
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/use-bunny-dns/vendor/monolog/monolog/src/Monolog/Handler/AmqpHandler.php:24
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/use-bunny-dns/vendor/monolog/monolog/src/Monolog/Formatter/LogstashFormatter.php:22
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/use-bunny-dns/vendor/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php:28
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/use-bunny-dns/vendor/monolog/monolog/src/Monolog/Handler/SamplingHandler.php:33
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/use-bunny-dns/vendor/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php:24
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/use-bunny-dns/vendor/monolog/monolog/src/Monolog/Handler/FlowdockHandler.php:32
- > 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)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Donate link: Invalid url: ""
use-bunny-dns/use-bunny-dns.php Passed 13 tests
The primary PHP file in "Use Bunny DNS" version 1.1.1 is used by WordPress to initiate all plugin functionality
40 characters long description:
Handles automatic purge of CDN pull zone
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin9,329 lines of code in 147 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 140 | 2,201 | 6,010 | 8,410 |
Markdown | 4 | 202 | 0 | 648 |
JSON | 3 | 0 | 0 | 271 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 9.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 10 | |
Traits | 5 | |
Classes | 117 | |
▷ Abstract classes | 8 | 6.84% |
▷ Concrete classes | 109 | 93.16% |
▷ Final classes | 3 | 2.75% |
Methods | 725 | |
▷ Static methods | 55 | 7.59% |
▷ Public methods | 498 | 68.69% |
▷ Protected methods | 162 | 22.34% |
▷ Private methods | 65 | 8.97% |
Functions | 21 | |
▷ Named functions | 1 | 4.76% |
▷ Anonymous functions | 20 | 95.24% |
Constants | 66 | |
▷ Global constants | 2 | 3.03% |
▷ Class constants | 64 | 96.97% |
▷ Public constants | 37 | 57.81% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin