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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▲1.97ms] Passed 4 tests
An overview of server-side resources used by Crowdfunding WePay oAuth 2.0 by Astoundify
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.65 ▲2.42 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.63 ▲5.66 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.72 ▼0.76 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 94.25 ▲6.12 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.56 ▲0.56 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Crowdfunding WePay oAuth 2.0 by Astoundify: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.44 ▲0.16 | 1.81 ▲0.21 | 35.79 ▼0.72 |
Dashboard /wp-admin | 2,206 ▲17 | 4.84 ▼0.10 | 111.85 ▼8.51 | 39.53 ▼2.97 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.01 | 40.20 ▲4.53 | 33.82 ▲2.79 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.38 ▼0.12 | 658.95 ▼32.67 | 60.25 ▼2.10 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.22 ▼0.16 | 104.08 ▲3.57 | 46.63 ▲1.80 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/edd-wepay-oauth2/vendor/iframe_demoapp/list_accounts.php
- > /wp-content/plugins/edd-wepay-oauth2/vendor/iframe_demoapp/checkout.php
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: gateway, easy digital downloads, downloads, wepay
edd-wepay-oauth2/wepay-oauth2.php 85% from 13 tests
The primary PHP file in "Crowdfunding WePay oAuth 2.0 by Astoundify" version 0.4 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("edd-wepay-oauth2.php" instead of "wepay-oauth2.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin608 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 147 | 292 | 547 |
Markdown | 1 | 24 | 0 | 61 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 8.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 21 | |
▷ Static methods | 6 | 28.57% |
▷ Public methods | 17 | 80.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 19.05% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 1 | 12.50% |
▷ Class constants | 7 | 87.50% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin