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.06MB] [CPU: ▼13.05ms] Passed 4 tests
A check of server-side resources used by Easy Digital Downloads payment plugin - Novalnet AG
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.85 ▼4.52 |
Dashboard /wp-admin | 3.38 ▲0.04 | 48.37 ▼19.72 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 50.35 ▲0.07 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 76.96 ▼28.02 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 37.58 ▲0.05 |
Server storage [IO: ▲2.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Digital Downloads payment plugin - Novalnet AG
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲48 | 13.69 ▼0.36 | 1.72 ▼0.29 | 43.84 ▼2.52 |
Dashboard /wp-admin | 2,225 ▲40 | 5.87 ▲0.02 | 101.81 ▼8.22 | 37.76 ▼1.68 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.00 ▼0.12 | 40.78 ▲0.48 | 38.69 ▲0.95 |
Add New Post /wp-admin/post-new.php | 1,552 ▲38 | 23.44 ▲5.89 | 677.70 ▼79.89 | 53.56 ▼2.79 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.25 ▲0.13 | 122.88 ▲5.70 | 53.34 ▲4.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 26 tag instead of maximum 10
easy-digital-downloads-payment-gateway-by-novalnet/class-novalnet.php 69% from 13 tests
This is the main PHP file of "Easy Digital Downloads payment plugin - Novalnet AG" version 2.2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
- Main file name: Name the main plugin file the same as the plugin slug ("easy-digital-downloads-payment-gateway-by-novalnet.php" instead of "class-novalnet.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
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
There were no executable files found in this plugin6,232 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 604 | 1,907 | 4,705 |
JavaScript | 5 | 140 | 95 | 756 |
PO File | 1 | 224 | 518 | 750 |
CSS | 1 | 1 | 0 | 21 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 26.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 147.00 |
Average method complexity | 4.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 1 | 6.67% |
Methods | 126 | |
▷ Static methods | 14 | 11.11% |
▷ Public methods | 124 | 98.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.59% |
Functions | 70 | |
▷ Named functions | 70 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
21 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/novalnet_cc_discover.png | 1.89KB | 1.09KB | ▼ 42.58% |
assets/images/novalnet_instantbank.png | 1.90KB | 1.38KB | ▼ 27.53% |
assets/images/novalnet_sepa.png | 1.13KB | 1.54KB | 0.00% |
(invalid) assets/images/novalnet_cashpayment.png | 1.60KB | 0.00KB | ▼ 100.00% |
assets/images/novalnet_eps.png | 1.04KB | 1.74KB | 0.00% |