Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.43ms] Passed 4 tests
Server-side resources used by WordPress SugarCRM
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.47 ▲0.86 |
Dashboard /wp-admin | 3.35 ▲0.04 | 56.16 ▼3.79 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 52.82 ▲3.44 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.22 ▼25.03 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.37 ▲2.25 |
Server storage [IO: ▲0.93MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
WpLeadBuilderProActivatedPlugin |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WordPress SugarCRM
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.26 ▼0.03 | 1.94 ▲0.12 | 43.69 ▲1.57 |
Dashboard /wp-admin | 2,198 ▲24 | 5.63 ▲0.03 | 83.85 ▼4.22 | 42.04 ▲1.18 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.97 ▼0.09 | 35.24 ▼3.74 | 31.47 ▼4.09 |
Add New Post /wp-admin/post-new.php | 1,536 ▲2 | 23.31 ▲0.29 | 674.17 ▲56.11 | 56.68 ▲0.59 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.23 ▼0.02 | 107.23 ▼3.60 | 48.28 ▲2.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- WpLeadBuilderProActivatedPlugin
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 fix the following
- 11× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/wp-sugar-free/lib/nusoap/class.wsdlcache.php
- > /wp-content/plugins/wp-sugar-free/lib/nusoap/class.xmlschema.php
- > /wp-content/plugins/wp-sugar-free/lib/nusoap/class.soap_val.php
- > /wp-content/plugins/wp-sugar-free/lib/nusoap/class.soap_server.php
- > /wp-content/plugins/wp-sugar-free/lib/nusoap/class.soap_parser.php
- > /wp-content/plugins/wp-sugar-free/lib/nusoap/nusoapmime.php
- > /wp-content/plugins/wp-sugar-free/lib/nusoap/class.soapclient.php
- > /wp-content/plugins/wp-sugar-free/lib/nusoap/class.soap_transport_http.php
- > /wp-content/plugins/wp-sugar-free/lib/nusoap/class.soap_fault.php
- > /wp-content/plugins/wp-sugar-free/lib/nusoap/class.wsdl.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (The screenshot-1.jpg shows the SugarCRM settings configuration)
wp-sugar-free/index.php 85% from 13 tests
The primary PHP file in "WordPress SugarCRM" version 2.0.3 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-sugar-free.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin11,762 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 1,697 | 6,977 | 11,762 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 73.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 388.00 |
Average method complexity | 8.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 82.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 37 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 37 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 362 | |
▷ Static methods | 2 | 0.55% |
▷ Public methods | 361 | 99.72% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.28% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 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
1 PNG file occupies 0.11MB with 0.08MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/wordpress-to-sugarcrm-banner.png | 112.98KB | 35.58KB | ▼ 68.50% |