Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲2.71MB] [CPU: ▲9.05ms] Passed 4 tests
A check of server-side resources used by Speed Kit
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.17 ▲2.71 | 55.39 ▲16.96 |
Dashboard /wp-admin | 6.06 ▲2.75 | 66.26 ▲16.28 |
Posts /wp-admin/edit.php | 6.11 ▲2.75 | 61.00 ▲8.26 |
Add New Post /wp-admin/post-new.php | 8.58 ▲2.69 | 100.24 ▼5.30 |
Media Library /wp-admin/upload.php | 5.92 ▲2.69 | 56.59 ▲19.80 |
Help /wp-admin/admin.php?page=baqend_help | 5.90 | 46.98 |
Advanced /wp-admin/admin.php?page=baqend_advanced | 5.77 | 40.08 |
Account /wp-admin/admin.php?page=baqend_account | 5.77 | 40.73 |
Settings /wp-admin/admin.php?page=baqend_speed_kit | 5.77 | 43.12 |
Overview /wp-admin/admin.php?page=baqend | 7.22 | 210.12 |
Server storage [IO: ▲3.25MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Please try to fix the following items
- You have illegally modified 1 file (104.90KB) outside of "wp-content/plugins/baqend/" and "wp-content/uploads/"
- (new file) speed-kit-sw.js
Filesystem: 552 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
baqend |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Speed Kit
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,871 ▲125 | 13.21 ▼1.38 | 4.74 ▲2.95 | 37.27 ▼8.73 |
Dashboard /wp-admin | 2,274 ▲89 | 5.85 ▲0.02 | 96.95 ▼5.09 | 39.49 ▼6.06 |
Posts /wp-admin/edit.php | 2,160 ▲71 | 2.02 ▼0.03 | 34.06 ▼8.61 | 33.97 ▼3.25 |
Add New Post /wp-admin/post-new.php | 1,572 ▲58 | 23.05 ▲5.44 | 666.48 ▼18.55 | 59.53 ▲3.21 |
Media Library /wp-admin/upload.php | 1,459 ▲74 | 4.17 ▼0.04 | 95.62 ▼3.11 | 44.80 ▲1.86 |
Help /wp-admin/admin.php?page=baqend_help | 1,022 | 5.00 | 145.99 | 27.32 |
Advanced /wp-admin/admin.php?page=baqend_advanced | 969 | 6.22 | 137.68 | 25.99 |
Account /wp-admin/admin.php?page=baqend_account | 972 | 6.00 | 47.87 | 26.04 |
Settings /wp-admin/admin.php?page=baqend_speed_kit | 969 | 6.02 | 51.41 | 27.07 |
Overview /wp-admin/admin.php?page=baqend | 969 | 6.02 | 52.76 | 27.23 |
Uninstaller [IO: ▲0.10MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
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)
Good news, no errors were detected
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
Almost there! Just fix the following items
- 273× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'phpDocumentor\\Reflection\\Types\\String_' not found in wp-content/plugins/baqend/vendor/phpdocumentor/type-resolver/src/PseudoTypes/TraitString.php:25
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\\JsonFormatter' not found in wp-content/plugins/baqend/vendor/monolog/monolog/src/Monolog/Formatter/GoogleCloudLoggingFormatter.php:24
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\PropertyAccess\\Exception\\ExceptionInterface' not found in wp-content/plugins/baqend/vendor/symfony/property-access/Exception/InvalidArgumentException.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Serializer\\Mapping\\Factory\\ClassMetadataFactoryInterface' not found in wp-content/plugins/baqend/vendor/symfony/serializer/Mapping/Factory/ClassMetadataFactory.php:22
- > PHP Fatal error
Uncaught Error: Class 'Baqend\\WordPress\\Controller\\Controller' not found in wp-content/plugins/baqend/includes/Controller/FrontendController.php:15
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Serializer\ormalizer\\AbstractNormalizer' not found in wp-content/plugins/baqend/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:37
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/baqend/vendor/guzzlehttp/psr7/src/Stream.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/baqend/views/overview/performance.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\UriInterface' not found in wp-content/plugins/baqend/vendor/guzzlehttp/psr7/src/Uri.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Serializer\\Mapping\\ClassMetadataInterface' not found in wp-content/plugins/baqend/vendor/symfony/serializer/Mapping/ClassMetadata.php:19
- > 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 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
8 plugin tags: secure, optimization, static website generator, performance, fast...
baqend/baqend.php Passed 13 tests
This is the main PHP file of "Speed Kit" version 2.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
75 characters long description:
Easily use Baqend Cloud for your WordPress site and make it lightning-fast.
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 plugin50,537 lines of code in 508 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 490 | 8,831 | 21,556 | 47,860 |
JSON | 2 | 0 | 0 | 1,693 |
PO File | 1 | 178 | 194 | 397 |
YAML | 3 | 28 | 0 | 209 |
HTML | 1 | 28 | 0 | 145 |
XSD | 1 | 14 | 0 | 94 |
Markdown | 2 | 29 | 0 | 54 |
CSS | 2 | 3 | 0 | 47 |
SVG | 1 | 0 | 0 | 33 |
JavaScript | 5 | 0 | 2 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 12.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 367.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 63 | |
Interfaces | 79 | |
Traits | 13 | |
Classes | 356 | |
▷ Abstract classes | 18 | 5.06% |
▷ Concrete classes | 338 | 94.94% |
▷ Final classes | 125 | 36.98% |
Methods | 2,888 | |
▷ Static methods | 629 | 21.78% |
▷ Public methods | 2,464 | 85.32% |
▷ Protected methods | 96 | 3.32% |
▷ Private methods | 328 | 11.36% |
Functions | 212 | |
▷ Named functions | 147 | 69.34% |
▷ Anonymous functions | 65 | 30.66% |
Constants | 397 | |
▷ Global constants | 17 | 4.28% |
▷ Class constants | 380 | 95.72% |
▷ Public constants | 316 | 83.16% |
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
6 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/upgrade1.png | 9.39KB | 5.29KB | ▼ 43.63% |
img/speed-kit-enable.png | 39.43KB | 13.87KB | ▼ 64.81% |
img/upgrade3.png | 26.75KB | 7.62KB | ▼ 71.53% |
img/select-app.png | 33.90KB | 11.50KB | ▼ 66.09% |
img/upgrade2.png | 2.92KB | 1.98KB | ▼ 32.42% |