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
Install script ran successfully
Server metrics [RAM: ▲1.37MB] [CPU: ▲4.63ms] Passed 4 tests
Server-side resources used by Quentn WP
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.98 ▲1.52 | 54.22 ▲3.89 |
Dashboard /wp-admin | 4.62 ▲1.32 | 60.55 ▲12.76 |
Posts /wp-admin/edit.php | 4.66 ▲1.30 | 53.20 ▼1.79 |
Add New Post /wp-admin/post-new.php | 7.60 ▲1.71 | 100.23 ▲4.16 |
Media Library /wp-admin/upload.php | 4.56 ▲1.33 | 49.80 ▲12.27 |
Integration /wp-admin/admin.php?page=quentn-dashboard | 4.49 | 41.85 |
Access /wp-admin/admin.php?page=quentn-page-access-overview | 4.58 | 44.25 |
Access Restrictions /wp-admin/admin.php?page=quentn-access-pages-restrictions | 4.53 | 43.18 |
Server storage [IO: ▲2.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 395 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_qntn_restrictions |
wp_qntn_user_data |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
quentn_db_version |
Browser metrics Passed 4 tests
An overview of browser requirements for Quentn WP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲178 | 14.04 ▼0.52 | 7.37 ▲5.24 | 42.51 ▼1.79 |
Dashboard /wp-admin | 2,228 ▲43 | 5.99 ▲1.12 | 106.33 ▲3.46 | 85.32 ▲44.18 |
Posts /wp-admin/edit.php | 2,139 ▲50 | 2.51 ▲0.46 | 37.23 ▼3.96 | 35.48 ▼2.64 |
Add New Post /wp-admin/post-new.php | 1,583 ▲64 | 23.75 ▲0.62 | 640.83 ▼33.01 | 37.88 ▼16.48 |
Media Library /wp-admin/upload.php | 1,433 ▲42 | 4.33 ▲0.05 | 101.21 ▼2.75 | 45.78 ▼5.47 |
Integration /wp-admin/admin.php?page=quentn-dashboard | 904 | 2.37 | 39.72 | 44.74 |
Access /wp-admin/admin.php?page=quentn-page-access-overview | 1,072 | 2.35 | 35.01 | 29.50 |
Access Restrictions /wp-admin/admin.php?page=quentn-access-pages-restrictions | 1,072 | 2.39 | 33.58 | 26.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=quentn-page-access-overview
- > Notice in wp-content/plugins/quentn-wp/includes/class-quentn-wp-access-overview-list.php+478
Undefined index: page_id
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
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/quentn-wp/admin/partials/quentn-wp-admin-display.php
- > /wp-content/plugins/quentn-wp/public/partials/quentn-wp-public-display.php
- > /wp-content/plugins/quentn-wp/vendor/mustache/mustache/bin/build_bootstrap.php
- 121× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'QuentnWPGuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/quentn-wp/vendor/guzzlehttp/guzzle/src/Pool.php:19
- > PHP Fatal error
Uncaught Error: Class 'QuentnWPGuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/quentn-wp/vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php:7
- > PHP Fatal error
Uncaught Error: Class 'Mustache_Test_SpecTestCase' not found in wp-content/plugins/quentn-wp/vendor/mustache/mustache/test/Mustache/Test/FiveThree/Functional/MustacheSpecTest.php:18
- > PHP Fatal error
Uncaught Error: Interface 'QuentnWPGuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/quentn-wp/vendor/guzzlehttp/promises/src/EachPromise.php:8
- > PHP Fatal error
Uncaught Error: Class 'Quentn\\Client\\AbstractQuentnClient' not found in wp-content/plugins/quentn-wp/vendor/quentn/php-sdk/src/Client/OAuthClient.php:9
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/quentn-wp/vendor/quentn/php-sdk/examples./vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/quentn-wp/vendor/quentn/php-sdk/examples/custom-field-examples.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'Mustache_Test_FunctionalTestCase' not found in wp-content/plugins/quentn-wp/vendor/mustache/mustache/test/Mustache/Test/Cache/FilesystemCacheTest.php:15
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/quentn-wp/vendor/mustache/mustache/test/Mustache/Test/Exception/UnknownHelperExceptionTest.php:12
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/quentn-wp/vendor/mustache/mustache/test/Mustache/Test/HelperCollectionTest.php:12
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/quentn-wp/vendor/mustache/mustache/test/Mustache/Test/Loader/ArrayLoaderTest.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 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
9 plugin tags: page restriction, elementor integration, quentn, marketing automation, email marketing tool...
quentn-wp/quentn-wp.php 92% from 13 tests
The principal PHP file in "Quentn WP" v. 1.2.7 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 267 characters long)
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Almost there! Just fix the following issues
- For security reasons, never distribute binary or executable files with your plugin
- .ms - Maxwell Script in Maxwell Render
- ☣ wp-content/plugins/quentn-wp/vendor/mustache/mustache/test/fixtures/templates/alpha.ms
- ☣ wp-content/plugins/quentn-wp/vendor/mustache/mustache/test/fixtures/templates/beta.ms
- .ms - Maxwell Script in Maxwell Render
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 244 | 4,028 | 10,543 | 18,419 |
CSS | 12 | 211 | 104 | 11,646 |
Markdown | 14 | 1,184 | 0 | 3,540 |
JavaScript | 16 | 281 | 86 | 1,274 |
JSON | 9 | 0 | 0 | 618 |
PO File | 1 | 135 | 152 | 299 |
SVG | 1 | 0 | 0 | 288 |
Mustache | 36 | 1 | 0 | 145 |
YAML | 2 | 6 | 0 | 28 |
XML | 2 | 2 | 0 | 24 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 9.19 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 21 | |
Traits | 2 | |
Classes | 213 | |
▷ Abstract classes | 6 | 2.82% |
▷ Concrete classes | 207 | 97.18% |
▷ Final classes | 8 | 3.86% |
Methods | 1,370 | |
▷ Static methods | 115 | 8.39% |
▷ Public methods | 1,164 | 84.96% |
▷ Protected methods | 24 | 1.75% |
▷ Private methods | 182 | 13.28% |
Functions | 185 | |
▷ Named functions | 61 | 32.97% |
▷ Anonymous functions | 124 | 67.03% |
Constants | 129 | |
▷ Global constants | 6 | 4.65% |
▷ Class constants | 123 | 95.35% |
▷ Public constants | 123 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/icon.png | 0.58KB | 0.60KB | 0.00% |