Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼184.79ms] Passed 4 tests
Analyzing server-side resources used by WP Freshsales
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.04 | 29.49 ▲6.48 |
Dashboard /wp-admin | 3.10 ▲0.03 | 30.54 ▼7.24 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 30.87 ▼0.93 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.02 | 70.10 ▼728.25 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 23.38 ▼2.72 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 1 new option
New WordPress options |
---|
WpLeadBuilderProActivatedPlugin |
Browser metrics Passed 4 tests
A check of browser resources used by WP Freshsales
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,666 ▲65 | 15.61 ▲0.00 | 4.97 ▼4.17 | 74.97 ▲0.91 |
Dashboard /wp-admin | 2,930 ▲31 | 6.10 ▼0.04 | 116.24 ▼20.69 | 166.54 ▼7.70 |
Posts /wp-admin/edit.php | 2,743 ▼0 | 3.24 ▼0.01 | 63.16 ▲0.10 | 140.70 ▲2.23 |
Add New Post /wp-admin/post-new.php | 3,807 ▲66 | 18.14 ▼1.05 | 451.43 ▲8.05 | 166.67 ▲6.62 |
Media Library /wp-admin/upload.php | 1,752 ▲3 | 5.47 ▼0.05 | 151.70 ▲5.73 | 192.88 ▲4.49 |
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
- This plugin does not fully uninstall, leaving 1 option in the database
- WpLeadBuilderProActivatedPlugin
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (Wp Freshsales configuratios.)
wp-freshsales/index.php 85% from 13 tests
This is the main PHP file of "WP Freshsales" version 2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-freshsales.php" instead of "index.php")
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
No dangerous file extensions were detected731 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 116 | 165 | 731 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 8 | 17.78% |
▷ Public methods | 40 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.11% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 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
2 PNG files occupy 0.21MB with 0.12MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-01.png | 27.05KB | 11.81KB | ▼ 56.36% |
assets/wordpress-to-freshsale-banner.png | 184.45KB | 81.12KB | ▼ 56.02% |