Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.59ms] Passed 4 tests
Analyzing server-side resources used by Cart66 Cloud Aweber
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.30 ▼2.90 |
Dashboard /wp-admin | 3.31 ▼0.03 | 51.91 ▼13.94 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.70 ▼2.30 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.42 ▼15.23 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.75 ▼2.03 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Cart66 Cloud Aweber
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.38 ▼0.26 | 1.87 ▼0.10 | 47.63 ▲2.60 |
Dashboard /wp-admin | 2,204 ▲24 | 5.66 ▼0.01 | 90.83 ▲1.62 | 43.39 ▲4.33 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.06 ▲0.03 | 36.11 ▼1.04 | 33.91 ▼1.54 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 17.46 ▼0.03 | 676.71 ▼7.95 | 53.52 ▲1.14 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.22 ▼0.09 | 97.14 ▼11.21 | 42.41 ▼4.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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 items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'CC_Admin_Setting' not found in wp-content/plugins/cart66-cloud-aweber/includes/admin/class-ca-admin-settings-general.php:3
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Show your Aweber sign up form when your customers view their receipts), #2 (Plugin settings)
cart66-cloud-aweber/cart66-aweber.php 92% from 13 tests
The principal PHP file in "Cart66 Cloud Aweber" v. 1.0.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("cart66-cloud-aweber.php" instead of "cart66-aweber.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
Good job! No executable or dangerous file extensions detected417 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 79 | 82 | 272 |
JavaScript | 3 | 27 | 19 | 135 |
CSS | 1 | 1 | 0 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 5.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 22 | |
▷ Static methods | 11 | 50.00% |
▷ Public methods | 21 | 95.45% |
▷ Protected methods | 1 | 4.55% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.16MB with 0.07MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 96.77KB | 33.76KB | ▼ 65.12% |
resources/img/x.png | 1.04KB | 1.25KB | 0.00% |
screenshot-1.png | 61.01KB | 22.92KB | ▼ 62.44% |