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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼1.71ms] Passed 4 tests
A check of server-side resources used by Easily integrate Pipedrive CRM with your WordPress site
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 42.21 ▲1.42 |
Dashboard /wp-admin | 3.44 ▲0.13 | 50.24 ▼2.96 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 47.19 ▼4.14 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 92.27 ▲3.91 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 36.78 ▼1.15 |
Contacts for Pipedrive /wp-admin/options-general.php?page=contacts-for-pipedrive | 3.33 | 31.81 |
Server storage [IO: ▲1.75MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 371 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easily integrate Pipedrive CRM with your WordPress site
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.17 ▼1.20 | 1.98 ▲0.23 | 43.10 ▼0.31 |
Dashboard /wp-admin | 2,210 ▲25 | 4.87 ▼1.03 | 112.53 ▲10.09 | 44.37 ▲5.30 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.18 | 35.74 ▼0.36 | 32.24 ▼3.32 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 22.97 ▼0.60 | 651.83 ▼41.64 | 55.10 ▼15.97 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.16 | 96.24 ▼10.79 | 46.83 ▲0.97 |
Contacts for Pipedrive /wp-admin/options-general.php?page=contacts-for-pipedrive | 778 | 2.02 | 23.51 | 26.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/contact-manager-for-pipedrive/views/header.php
- 84× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/contact-manager-for-pipedrive/vendor/pipedrive/pipedrive/tests/Controllers/ProductsControllerTest.php:15
- > PHP Fatal error
Uncaught Error: Class 'Pipedrive\\Controllers\\BaseController' not found in wp-content/plugins/contact-manager-for-pipedrive/vendor/pipedrive/pipedrive/src/Controllers/DealsController.php:28
- > PHP Fatal error
Uncaught Error: Class 'Pipedrive\\Controllers\\BaseController' not found in wp-content/plugins/contact-manager-for-pipedrive/vendor/pipedrive/pipedrive/src/Controllers/DealFieldsController.php:27
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/contact-manager-for-pipedrive/vendor/pipedrive/pipedrive/tests/Controllers/GoalsControllerTest.php:16
- > PHP Fatal error
Uncaught Error: Class 'Pipedrive\\Controllers\\BaseController' not found in wp-content/plugins/contact-manager-for-pipedrive/vendor/pipedrive/pipedrive/src/Controllers/RolesController.php:27
- > PHP Warning
require(wp-content/plugins/contact-manager-for-pipedrive/vendor/pipedrive/pipedrive/tests/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/contact-manager-for-pipedrive/vendor/pipedrive/pipedrive/tests/bootstrap.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/contact-manager-for-pipedrive/vendor/pipedrive/pipedrive/tests/Controllers/ActivityFieldsControllerTest.php:15
- > PHP Fatal error
Uncaught Error: Class 'Pipedrive\\Http\\HttpCallBack' not found in wp-content/plugins/contact-manager-for-pipedrive/vendor/pipedrive/pipedrive/tests/HttpCallBackCatcher.php:15
- > PHP Fatal error
Uncaught Error: Class 'Pipedrive\\Controllers\\BaseController' not found in wp-content/plugins/contact-manager-for-pipedrive/vendor/pipedrive/pipedrive/src/Controllers/CurrenciesController.php:27
- > PHP Fatal error
Uncaught Error: Class 'Pipedrive\\APIException' not found in wp-content/plugins/contact-manager-for-pipedrive/vendor/pipedrive/pipedrive/src/Exceptions/FailResponseException.php:16
- > 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)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: crm, wpforms, pipedrive
contact-manager-for-pipedrive/contact-manager-for-pipedrive.php Passed 13 tests
The main file in "Easily integrate Pipedrive CRM with your WordPress site" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
64 characters long description:
A plugin for automatically creating Pipedrive deals from WPForms
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected26,615 lines of code in 355 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 338 | 6,547 | 18,625 | 20,544 |
Markdown | 2 | 3,668 | 0 | 5,058 |
XML | 5 | 34 | 6 | 473 |
JSON | 7 | 0 | 0 | 274 |
reStructuredText | 1 | 155 | 136 | 217 |
YAML | 2 | 8 | 0 | 49 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 4.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 19 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 324 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 324 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1,103 | |
▷ Static methods | 167 | 15.14% |
▷ Public methods | 1,010 | 91.57% |
▷ Protected methods | 48 | 4.35% |
▷ Private methods | 45 | 4.08% |
Functions | 7 | |
▷ Named functions | 2 | 28.57% |
▷ Anonymous functions | 5 | 71.43% |
Constants | 240 | |
▷ Global constants | 3 | 1.25% |
▷ Class constants | 237 | 98.75% |
▷ Public constants | 237 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/pipedrive-square.png | 10.22KB | 3.81KB | ▼ 62.73% |