Benchmarks
Plugin footprint 65% 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.00MB] [CPU: ▼7.66ms] Passed 4 tests
Server-side resources used by CF7 LACRM Connector
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.66 ▲0.84 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.48 ▼4.25 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.40 ▲0.89 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.60 ▼28.10 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.66 ▲4.70 |
LACRM /wp-admin/admin.php?page=wpcf7-lacrm-config | 3.00 | 32.16 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 16 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_lacrm_connector |
New WordPress options |
---|
lacrm_api_token |
can_compress_scripts |
lacrm_verify_token |
widget_theysaidso_widget |
theysaidso_admin_options |
lacrm_user_code |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for CF7 LACRM Connector
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.69 ▲0.12 | 1.84 ▲0.23 | 45.09 ▲3.51 |
Dashboard /wp-admin | 2,198 ▲18 | 5.60 ▲0.00 | 84.28 ▼6.10 | 38.87 ▼0.67 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.96 ▼0.00 | 34.05 ▼3.04 | 35.53 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.20 ▼0.27 | 682.48 ▼1.90 | 60.08 ▲6.17 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▼0.07 | 93.52 ▼3.85 | 41.30 ▼2.46 |
LACRM /wp-admin/admin.php?page=wpcf7-lacrm-config | 28 | 0.42 | 0.08 | 4.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_lacrm_connector
- The uninstall procedure has failed, leaving 9 options in the database
- db_upgraded
- can_compress_scripts
- lacrm_api_token
- lacrm_user_code
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- lacrm_verify_token
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Lacrm_Connector_Service' not found in wp-content/plugins/lacrm-connector-for-contact-form7/includes/pages/lacrm.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/lacrm-connector-for-contact-form7/includes/pages/lacrm-config.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=wpcf7-lacrm-config
- > Network (severe)
wp-admin/admin.php?page=wpcf7-lacrm-config - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: contact forms, cf7, lessannoyingcrm, contact form 7 integrations, contact form 7...
lacrm-connector-for-contact-form7/lacrm-connector.php 85% from 13 tests
Analyzing the main PHP file in "CF7 LACRM Connector" version 1.2
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("lacrm-connector-for-contact-form7.php" instead of "lacrm-connector.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,520 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 170 | 217 | 949 |
JavaScript | 2 | 61 | 105 | 283 |
CSS | 1 | 6 | 0 | 185 |
PO File | 1 | 42 | 58 | 103 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 25.50 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 3.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 1 | 2.56% |
▷ Public methods | 33 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 15.38% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/trash.png | 0.35KB | 0.29KB | ▼ 17.65% |
assets/img/remove.png | 0.50KB | 0.44KB | ▼ 11.91% |
assets/img/help.png | 1.51KB | 1.35KB | ▼ 10.25% |