Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/pinpointe-form-integration/pinpointe-signup-form.php+135
Function create_function() is deprecated
Server metrics [RAM: ▼0.76MB] [CPU: ▼187.22ms] Passed 4 tests
Server-side resources used by Pinpointe Form Integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 10.21 ▼16.26 |
Dashboard /wp-admin | 2.88 ▼0.17 | 10.32 ▼37.57 |
Posts /wp-admin/edit.php | 2.88 ▼0.22 | 10.85 ▼40.18 |
Add New Post /wp-admin/post-new.php | 2.88 ▼2.55 | 9.73 ▼649.61 |
Media Library /wp-admin/upload.php | 2.88 ▼0.12 | 10.89 ▼21.50 |
Pinpointe /wp-admin/options-general.php?page=pinpointe | 2.89 | 10.66 |
Server storage [IO: ▲1.00MB] [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: 49 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_pinpointe_form |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Pinpointe Form Integration
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲112 | 16.19 ▲0.66 | 8.96 ▼2.33 | 47.72 ▼2.94 |
Dashboard /wp-admin | 2,978 ▲44 | 5.86 ▼0.10 | 137.71 ▼42.94 | 116.58 ▲4.37 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.69 ▲0.01 | 67.12 ▼6.39 | 100.15 ▲10.04 |
Add New Post /wp-admin/post-new.php | 1,501 ▼103 | 18.88 ▲0.29 | 379.09 ▼0.51 | 112.74 ▼1.89 |
Media Library /wp-admin/upload.php | 1,812 ▲8 | 5.01 ▼0.01 | 156.34 ▼1.09 | 119.25 ▼5.77 |
Pinpointe /wp-admin/options-general.php?page=pinpointe | 1,293 | 3.00 | 75.54 | 83.63 |
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
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/pinpointe-form-integration/pinpointe-signup-form.php+135
Function create_function() is deprecated
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=pinpointe
- > POST request to /wp-admin/admin-ajax.php
- > Deprecated in wp-content/plugins/pinpointe-form-integration/pinpointe-signup-form.php+135
Function create_function() is deprecated
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/pinpointe-form-integration/includes/pinpointe-widget.class.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: popups, subscription, email marketing, opt-in, mailing list...
pinpointe-form-integration/pinpointe-signup-form.php 85% from 13 tests
The entry point to "Pinpointe Form Integration" version 1.5 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- 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: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("pinpointe-form-integration.php" instead of "pinpointe-signup-form.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected8,907 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 810 | 1,117 | 4,018 |
JavaScript | 11 | 398 | 292 | 2,282 |
CSS | 8 | 239 | 154 | 2,193 |
SVG | 1 | 0 | 0 | 414 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 142)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.70 |
Average class complexity | 228.33 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 627.00 |
Average method complexity | 8.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 142.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 92 | |
▷ Static methods | 6 | 6.52% |
▷ Public methods | 88 | 95.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 4.35% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
16 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-bg_diagonals-thick_20_666666_40x40.png | 0.30KB | 0.15KB | ▼ 49.68% |
assets/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png | 5.68KB | 1.83KB | ▼ 67.77% |
assets/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png | 0.27KB | 0.14KB | ▼ 47.84% |
assets/css/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
assets/css/chosen-sprite.png | 0.63KB | 0.88KB | 0.00% |