Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.88MB] [CPU: ▲0.75ms] Passed 4 tests
This is a short check of server-side resources used by Extendago Woocommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.35 ▲0.88 | 43.37 ▲0.07 |
Dashboard /wp-admin | 4.22 ▲0.91 | 56.71 ▼0.25 |
Posts /wp-admin/edit.php | 4.27 ▲0.91 | 49.79 ▼0.24 |
Add New Post /wp-admin/post-new.php | 6.76 ▲0.87 | 94.67 ▲3.42 |
Media Library /wp-admin/upload.php | 4.08 ▲0.84 | 45.00 ▲11.69 |
Server storage [IO: ▲1.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Extendago Woocommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲76 | 14.36 ▼0.35 | 2.23 ▲0.33 | 37.24 ▼6.22 |
Dashboard /wp-admin | 2,273 ▲93 | 5.57 ▼0.06 | 87.79 ▼11.03 | 78.71 ▲37.10 |
Posts /wp-admin/edit.php | 2,179 ▲79 | 2.11 ▼0.01 | 37.66 ▼2.52 | 32.65 ▼2.47 |
Add New Post /wp-admin/post-new.php | 1,591 ▲53 | 20.21 ▼2.95 | 579.87 ▼50.70 | 149.09 ▲90.48 |
Media Library /wp-admin/upload.php | 1,478 ▲84 | 4.16 ▲0.00 | 97.46 ▲0.55 | 76.51 ▲32.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/extendago-wp-connection/includes/admin/partials/extendago_wp_connection_settings_page.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: extenda, pos, extendago, woocommerce, arture
extendago-wp-connection/extendago-wp-connection.php 92% from 13 tests
This is the main PHP file of "Extendago Woocommerce" version 1.4.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 222 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin5,217 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 930 | 345 | 4,484 |
CSS | 3 | 31 | 17 | 457 |
JavaScript | 6 | 75 | 42 | 275 |
SVG | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
It is recommended to fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 101)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 91.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 316.00 |
Average method complexity | 7.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 101.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 141 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 134 | 95.04% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 4.96% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.15MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin/img/woocommerce.png | 145.82KB | 69.06KB | ▼ 52.64% |
includes/admin/img/extendago.png | 6.14KB | 5.88KB | ▼ 4.17% |