Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/ghostbirdwp/library/class-gbwp-funcs.php+2170
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▲0.41MB] [CPU: ▼388.54ms] Passed 4 tests
This is a short check of server-side resources used by Ghostbird WP (Beta)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.38 | 66.77 ▲15.51 |
Posts /wp-admin/edit.php | 4.13 ▲0.50 | 50.70 ▲12.20 |
Add New Post /wp-admin/post-new.php | 7.54 ▲0.57 | 101.63 ▼1,179.20 |
Media Library /wp-admin/upload.php | 3.66 ▲0.36 | 26.82 ▲1.39 |
Ghostbird WP /wp-admin/options-general.php?page=ghostbirdwp | 3.96 | 46.00 |
Server storage [IO: ▲1.70MB] [DB: ▲0.01MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Just a few items left to fix
- The plugin illegally modified 28 files (134.30KB) outside of "wp-content/plugins/ghostbirdwp/" and "wp-content/uploads/"
- (new file) wp-content/advanced-cache.php
- (new file) wp-content/cache/ghostbirdwp/assets/index.html
- (new file) wp-content/cache/ghostbirdwp/buffer/.htaccess
- (new file) wp-content/cache/ghostbirdwp/buffer/bf-4c9569430c43-b833b9f10a83.php
- (new file) wp-content/cache/ghostbirdwp/.htaccess
- (new file) wp-content/cache/ghostbirdwp/buffer/index.html
- (modified) .htaccess
- (new file) wp-content/cache/ghostbirdwp/buffer/bf-51c1edf42508-ff62d1ceb3ea.php
- (modified) wp-config.php
- (new file) wp-content/cache/ghostbirdwp/assets/.htaccess
- ...
Filesystem: 130 new files
Database: no new tables, 1 new option
New WordPress options |
---|
ghostbirdwp_settings |
Browser metrics Passed 4 tests
Checking browser requirements for Ghostbird WP (Beta)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▼837 | 15.61 ▼0.36 | 8.48 ▲2.88 | 2.64 ▲0.14 |
Dashboard /wp-admin | 2,077 ▼784 | 5.93 ▼0.22 | 86.93 ▼53.94 | 155.71 ▼8.68 |
Posts /wp-admin/edit.php | 2,060 ▼631 | 2.68 ▼0.55 | 30.39 ▼34.72 | 144.28 ▼3.98 |
Add New Post /wp-admin/post-new.php | 1,738 ▼43 | 22.31 ▼0.29 | 441.19 ▼16.44 | 163.13 ▲9.27 |
Media Library /wp-admin/upload.php | 1,404 ▼294 | 5.37 ▼0.17 | 87.57 ▼60.87 | 208.81 ▲19.57 |
Ghostbird WP /wp-admin/options-general.php?page=ghostbirdwp | 2,765 | 2.66 | 57.44 | 225.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 50% 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 0% 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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ghostbirdwp/files/firewall-passcode.php
- 28× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ghostbirdwp/partials/plugin-info.php:2
- > PHP Notice
Undefined variable: passcode in wp-content/plugins/ghostbirdwp/files/firewall-passcode.php on line 97
- > PHP Notice
Trying to get property 'qsname' of non-object in wp-content/plugins/ghostbirdwp/files/firewall-passcode.php on line 102
- > PHP Notice
Undefined variable: passcode in wp-content/plugins/ghostbirdwp/files/firewall-passcode.php on line 97
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/ghostbirdwp/library/optimize/minify/src/Exceptions/FileImportException.php:19
- > PHP Notice
Undefined variable: passcode in wp-content/plugins/ghostbirdwp/files/firewall-passcode.php on line 93
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ghostbirdwp/partials/stale-cache.php:2
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/ghostbirdwp/library/optimize/path-converter/Converter.php:19
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/ghostbirdwp/library/optimize/minify/src/JS.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ghostbirdwp/partials/plugin-actions.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: optimization, cache, badbot, performance, firewall...
ghostbirdwp/ghostbirdwp.php Passed 13 tests
The main file in "Ghostbird WP (Beta)" v. 1.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
112 characters long description:
The WordPress performance and security plugin that accelerates website and prevent from common security threats.
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
Success! There were no dangerous files found in this plugin16,390 lines of code in 94 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 85 | 3,683 | 6,618 | 14,883 |
CSS | 3 | 224 | 6 | 1,202 |
JavaScript | 2 | 66 | 31 | 275 |
SVG | 3 | 0 | 0 | 29 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 61.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 479.00 |
Average method complexity | 5.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 96.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 3 | 6.67% |
▷ Concrete classes | 42 | 93.33% |
▷ Final classes | 29 | 69.05% |
Methods | 688 | |
▷ Static methods | 94 | 13.66% |
▷ Public methods | 503 | 73.11% |
▷ Protected methods | 46 | 6.69% |
▷ Private methods | 139 | 20.20% |
Functions | 40 | |
▷ Named functions | 2 | 5.00% |
▷ Anonymous functions | 38 | 95.00% |
Constants | 29 | |
▷ Global constants | 19 | 65.52% |
▷ Class constants | 10 | 34.48% |
▷ Public constants | 10 | 100.00% |
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 files were detected