Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼11.86ms] Passed 4 tests
Analyzing server-side resources used by Insiteful — Form Abandonment Tracking, Partial Entries, Save & Continue Later
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 22.93 ▼16.38 |
Dashboard /wp-admin | 3.36 ▲0.06 | 39.98 ▼10.62 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 45.47 ▲2.06 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 83.65 ▼15.58 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 30.65 ▼4.85 |
Insiteful /wp-admin/options-general.php?page=insiteful | 3.26 | 25.79 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Insiteful — Form Abandonment Tracking, Partial Entries, Save & Continue Later: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲71 | 13.82 ▼0.76 | 9.77 ▲7.39 | 34.64 ▼7.86 |
Dashboard /wp-admin | 2,211 ▲23 | 4.85 ▼0.03 | 108.63 ▼9.35 | 42.88 ▼2.09 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.00 ▼0.02 | 39.46 ▲2.08 | 35.92 ▲3.15 |
Add New Post /wp-admin/post-new.php | 1,521 ▼3 | 23.43 ▲0.04 | 651.64 ▼33.96 | 56.64 ▲6.63 |
Media Library /wp-admin/upload.php | 1,396 ▲14 | 4.33 ▲0.13 | 96.92 ▼1.97 | 41.62 ▼5.07 |
Insiteful /wp-admin/options-general.php?page=insiteful | 935 | 2.16 | 27.08 | 72.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=insiteful
- > Notice in wp-content/plugins/insiteful/admin/partials/insiteful-admin-display.php+20
Trying to access array offset on value of type bool
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/insiteful/public/partials/insiteful-public-display.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/insiteful/admin/partials/insiteful-admin-display.php:17
- > 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 on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Please describe screenshot #3 in insiteful/assets to your readme.txt
insiteful/insiteful.php 85% from 13 tests
"Insiteful — Form Abandonment Tracking, Partial Entries, Save & Continue Later" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 245 characters long)
- Plugin Name: Keep the plugin name shorter than 70 characters (currently 79 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected265 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 138 | 574 | 259 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 1.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin