Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.61ms] Passed 4 tests
Analyzing server-side resources used by Woo Order Export To Constant Contact (FREE)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.81 ▼13.00 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.91 ▲3.97 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 52.17 ▼3.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.33 ▼7.17 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.93 ▲1.14 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Woo Order Export To Constant Contact (FREE)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.54 ▼0.59 | 4.38 ▲2.44 | 45.35 ▲3.13 |
Dashboard /wp-admin | 2,200 ▲9 | 4.80 ▼1.07 | 107.16 ▲3.70 | 40.17 ▼4.74 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.00 | 46.24 ▲7.22 | 31.87 ▼4.13 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.27 ▼4.76 | 647.45 ▼11.35 | 50.54 ▼5.27 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.22 ▼0.01 | 99.30 ▼6.18 | 42.38 ▼4.46 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-order-export-constant-contact/includes/wps-cc-woo-admin.php:185
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/woo-order-export-constant-contact/index.php:12
- > 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 90% 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
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6 in woo-order-export-constant-contact/assets to your readme.txt
woo-order-export-constant-contact/index.php 85% from 13 tests
The entry point to "Woo Order Export To Constant Contact (FREE)" version 1.2.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woo-order-export-constant-contact.php" instead of "index.php")
- Requires at least: The required version number must match the one declared in readme.txt ("3.0.1" instead of "3.4.6")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected510 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 64 | 11 | 319 |
SVG | 1 | 0 | 0 | 146 |
CSS | 1 | 1 | 0 | 26 |
JavaScript | 1 | 4 | 0 | 19 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 10 | 83.33% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/source/images/arrow_up.png | 1.03KB | 0.23KB | ▼ 77.65% |
includes/source/images/arrow_down.png | 1.06KB | 0.24KB | ▼ 77.47% |
includes/source/images/export.png | 2.95KB | 1.87KB | ▼ 36.60% |
includes/source/images/tick.png | 0.64KB | 0.51KB | ▼ 20.25% |