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.16MB] [CPU: ▼2.36ms] Passed 4 tests
This is a short check of server-side resources used by involve.me - Create Surveys, Quizzes, Calculators & Forms as Embedded Widgets or Pop-ups
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 40.18 ▼4.55 |
Dashboard /wp-admin | 3.47 ▲0.16 | 54.86 ▼0.85 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 52.74 ▲0.91 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 86.14 ▼4.95 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 40.70 ▲3.20 |
Add New /wp-admin/post-new.php?post_type=involve-me-project | 3.57 | 46.71 |
All involve.me projects /wp-admin/edit.php?post_type=involve-me-project | 3.43 | 44.70 |
Server storage [IO: ▲6.70MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 139 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for involve.me - Create Surveys, Quizzes, Calculators & Forms as Embedded Widgets or Pop-ups
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲50 | 14.20 ▲0.92 | 1.90 ▼0.05 | 43.46 ▼5.88 |
Dashboard /wp-admin | 2,239 ▲59 | 5.59 ▼0.01 | 83.91 ▼18.47 | 42.71 ▼4.89 |
Posts /wp-admin/edit.php | 2,148 ▲66 | 2.02 ▲0.01 | 37.71 ▲1.56 | 38.61 ▲0.04 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.26 ▼0.30 | 642.70 ▼52.39 | 52.04 ▼8.21 |
Media Library /wp-admin/upload.php | 1,447 ▲50 | 4.16 ▼0.04 | 106.32 ▼4.89 | 48.07 ▲2.68 |
Add New /wp-admin/post-new.php?post_type=involve-me-project | 2,404 | 3.18 | 85.37 | 74.16 |
All involve.me projects /wp-admin/edit.php?post_type=involve-me-project | 1,116 | 1.99 | 33.86 | 31.00 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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 items
- 105× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php:9
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php:7
- > PHP Notice
Undefined variable: add_screen in wp-content/plugins/involve-me/views/settings.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/involve-me/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
10 plugin tags: survey, payment form, quiz maker, survey maker, nps...
involve-me/involveme.php 77% from 13 tests
The entry point to "involve.me - Create Surveys, Quizzes, Calculators & Forms as Embedded Widgets or Pop-ups" version 1.1.6 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("involve-me.php" instead of "involveme.php")
- Plugin Name: Please shorten the plugin name (currently 88 characters long instead of max. 70)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected4,000 lines of code in 124 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 116 | 592 | 846 | 3,477 |
JSON | 4 | 1 | 0 | 316 |
JavaScript | 3 | 40 | 18 | 206 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 3.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 108 | |
▷ Abstract classes | 1 | 0.93% |
▷ Concrete classes | 107 | 99.07% |
▷ Final classes | 0 | 0.00% |
Methods | 171 | |
▷ Static methods | 22 | 12.87% |
▷ Public methods | 112 | 65.50% |
▷ Protected methods | 41 | 23.98% |
▷ Private methods | 18 | 10.53% |
Functions | 9 | |
▷ Named functions | 3 | 33.33% |
▷ Anonymous functions | 6 | 66.67% |
Constants | 8 | |
▷ Global constants | 4 | 50.00% |
▷ Class constants | 4 | 50.00% |
▷ Public constants | 4 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 1.15MB with 0.70MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 44.12KB | 15.12KB | ▼ 65.74% |
assets/screenshot-4.png | 494.39KB | 181.59KB | ▼ 63.27% |
assets/screenshot-5.png | 519.79KB | 184.38KB | ▼ 64.53% |
assets/banner-1544x500.png | 120.08KB | 38.32KB | ▼ 68.08% |
assets/icon-256x256.png | 2.82KB | 1.66KB | ▼ 41.18% |