Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼334.76ms] Passed 4 tests
A check of server-side resources used by 1clicksuite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 60.92 ▲2.73 |
Dashboard /wp-admin | 3.43 ▲0.02 | 37.38 ▼19.00 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 58.63 ▲3.97 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 98.19 ▼1,325.49 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 33.93 ▲2.74 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by 1clicksuite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,797 ▲43 | 15.29 ▼0.36 | 5.75 ▼0.36 | 2.87 ▼0.06 |
Dashboard /wp-admin | 2,892 ▲34 | 6.11 ▼0.09 | 115.35 ▼24.56 | 156.44 ▼9.91 |
Posts /wp-admin/edit.php | 2,694 ▲3 | 3.24 ▲0.00 | 65.14 ▼20.05 | 141.12 ▼3.17 |
Add New Post /wp-admin/post-new.php | 1,690 ▼21 | 20.44 ▼0.92 | 460.68 ▲8.82 | 175.00 ▲14.43 |
Media Library /wp-admin/upload.php | 1,698 ▲3 | 5.50 ▼0.03 | 147.81 ▲8.37 | 190.84 ▲2.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 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
Almost there! Just fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/1clicksuite/1clicksuite-compatible.php
- > /wp-content/plugins/1clicksuite/1click_scripts_style.php
- > /wp-content/plugins/1clicksuite/1click_function.php
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)
Everything seems fine, but this is not an exhaustive test
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
2 plugin tags: 1clicksuite, cf7
1clicksuite/1clicksuite-compatible.php 92% from 13 tests
This is the main PHP file of "1clicksuite" version 1.5, 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:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("1clicksuite.php" instead of "1clicksuite-compatible.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected107 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 26 | 14 | 65 |
CSS | 1 | 14 | 89 | 42 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
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 | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin