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: ▲1.52MB] [CPU: ▲11.62ms] Passed 4 tests
A check of server-side resources used by Giropay | paydirekt
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.98 ▲1.52 | 57.48 ▲13.48 |
Dashboard /wp-admin | 4.82 ▲1.52 | 65.81 ▲12.31 |
Posts /wp-admin/edit.php | 4.94 ▲1.58 | 62.30 ▲11.32 |
Add New Post /wp-admin/post-new.php | 7.41 ▲1.52 | 109.12 ▲9.37 |
Media Library /wp-admin/upload.php | 4.75 ▲1.52 | 50.76 ▲14.18 |
Server storage [IO: ▲1.78MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 75 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Giropay | paydirekt: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲11 | 13.60 ▼1.00 | 1.75 ▲0.14 | 44.32 ▲4.44 |
Dashboard /wp-admin | 2,206 ▼0 | 4.85 ▼0.99 | 109.20 ▲4.47 | 42.64 ▲1.56 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.03 ▲0.03 | 39.82 ▼0.66 | 35.40 ▲0.69 |
Add New Post /wp-admin/post-new.php | 1,537 ▼5 | 23.28 ▲0.09 | 667.45 ▼19.72 | 47.33 ▼16.76 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.24 ▲0.02 | 97.58 ▼21.72 | 44.45 ▲0.58 |
Uninstaller [IO: ✅] [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 does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: gateway, payment, woocommerce
fulino-paydirekt/paydirekt.php 92% from 13 tests
"Giropay | paydirekt" version 1.0.44's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("fulino-paydirekt.php" instead of "paydirekt.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin10,250 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 616 | 1,113 | 5,074 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 8 | 44 | 59 | 1,415 |
JavaScript | 9 | 58 | 21 | 564 |
PO File | 1 | 165 | 17 | 378 |
Markdown | 1 | 44 | 0 | 145 |
XML | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 14.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 37 | |
▷ Abstract classes | 2 | 5.41% |
▷ Concrete classes | 35 | 94.59% |
▷ Final classes | 0 | 0.00% |
Methods | 257 | |
▷ Static methods | 68 | 26.46% |
▷ Public methods | 229 | 89.11% |
▷ Protected methods | 4 | 1.56% |
▷ Private methods | 24 | 9.34% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 289 | |
▷ Global constants | 180 | 62.28% |
▷ Class constants | 109 | 37.72% |
▷ Public constants | 109 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/images/paydirekt_logo.png | 7.54KB | 2.74KB | ▼ 63.69% |
resources/images/paydirekt_icon.png | 15.25KB | 0.80KB | ▼ 94.76% |