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 gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.77ms] Passed 4 tests
Analyzing server-side resources used by CRM Connector Analytics
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.03 ▲1.95 |
Dashboard /wp-admin | 3.31 ▼0.03 | 44.47 ▼15.50 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 42.37 ▼6.83 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 79.22 ▼13.42 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.29 ▲0.68 |
Server storage [IO: ▲2.47MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
crm_connector_settings |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CRM Connector Analytics
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 14.28 ▼0.01 | 1.76 ▲0.09 | 43.40 ▲3.69 |
Dashboard /wp-admin | 2,219 ▲38 | 5.51 ▼0.23 | 81.65 ▼16.58 | 65.47 ▲23.96 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.00 ▲0.01 | 33.63 ▼3.39 | 33.38 ▲0.85 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 23.48 ▲0.37 | 736.55 ▲90.44 | 54.08 ▼3.29 |
Media Library /wp-admin/upload.php | 1,424 ▲33 | 4.22 ▲0.02 | 93.28 ▼6.75 | 74.38 ▲27.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/crm-connector-analytics/greenrope.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/crm-connector-analytics/admin.inc.php:95
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: crm connector, ticketing system, surveys, wordpress crm, email marketing...
crm-connector-analytics/greenrope.php 92% from 13 tests
The principal PHP file in "CRM Connector Analytics" v. 1.5.6 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("crm-connector-analytics.php" instead of "greenrope.php")
Code Analysis Passed 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
Success! There were no dangerous files found in this plugin290 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 62 | 20 | 173 |
CSS | 1 | 3 | 0 | 117 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 2.46MB with 1.63MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 1,749.01KB | 16.29KB | ▼ 99.07% |
assets/banner-772x250.png | 566.66KB | 5.81KB | ▼ 98.98% |
icon.png | 0.60KB | 0.58KB | ▼ 3.27% |
assets/icon-128x128.png | 64.32KB | 4.21KB | ▼ 93.45% |
header-ori.png | 11.65KB | 7.45KB | ▼ 36.00% |