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: ▼0.27ms] Passed 4 tests
A check of server-side resources used by WolfCRM Forms Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 64.72 ▲20.13 |
Dashboard /wp-admin | 3.43 ▲0.13 | 55.97 ▲3.87 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 53.17 ▼2.12 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 96.13 ▼9.89 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 42.11 ▲7.06 |
Opciones /wp-admin/admin.php?page=wolfcrm-forms-opciones | 3.34 | 32.14 |
Campos /wp-admin/admin.php?page=wolfcrm-forms | 3.35 | 31.96 |
Formularios tipo /wp-admin/admin.php?page=wolfcrm-forms-formularios-tipo | 3.34 | 33.65 |
Server storage [IO: ▲2.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WolfCRM Forms Integration
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,903 ▲142 | 13.52 ▼1.11 | 8.89 ▲7.12 | 42.33 ▼1.04 |
Dashboard /wp-admin | 2,229 ▲52 | 5.68 ▲0.06 | 89.33 ▲0.84 | 42.64 ▲0.09 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.00 ▲0.05 | 33.20 ▼3.52 | 36.16 ▼0.61 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.03 ▼0.04 | 656.03 ▲4.45 | 48.62 ▼0.53 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.17 ▼0.04 | 97.60 ▼12.76 | 44.38 ▼0.43 |
Opciones /wp-admin/admin.php?page=wolfcrm-forms-opciones | 856 | 1.99 | 23.48 | 28.69 |
Campos /wp-admin/admin.php?page=wolfcrm-forms | 1,120 | 1.99 | 22.27 | 25.40 |
Formularios tipo /wp-admin/admin.php?page=wolfcrm-forms-formularios-tipo | 822 | 2.02 | 23.56 | 28.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/nds-wolfcrm-forms-integration/public/partials/wolfcrm-forms-integration-module-public-display.php
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nds-wolfcrm-forms-integration/admin/includes/generar-menu-admin.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/nds-wolfcrm-forms-integration/admin/partials/wolfcrm-forms-integration-module-admin-formularios-tipo.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/nds-wolfcrm-forms-integration/admin/partials/wolfcrm-forms-integration-module-admin-campos.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nds-wolfcrm-forms-integration/admin/includes/generar-pagina-opciones.php:63
- > PHP Fatal error
Uncaught Error: Call to undefined function wolf_admin_configuracion() in wp-content/plugins/nds-wolfcrm-forms-integration/admin/partials/wolfcrm-forms-integration-module-admin-opciones.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/nds-wolfcrm-forms-integration/admin/index.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: forms, ninja forms, email form, contact form, crm...
nds-wolfcrm-forms-integration/wolfcrm-forms-integration-module.php 85% from 13 tests
"WolfCRM Forms Integration" version 1.0.1'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:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("nds-wolfcrm-forms-integration.php" instead of "wolfcrm-forms-integration-module.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected607 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 195 | 597 | 601 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 1.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.17 |
▷ 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 | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 18 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 21.74% |
Functions | 17 | |
▷ Named functions | 17 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin