Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼7.90ms] Passed 4 tests
This is a short check of server-side resources used by Simple Web Monetization by Interledger
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 29.08 ▼16.88 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.63 ▼3.19 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 57.04 ▲7.79 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 83.63 ▼15.54 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.59 ▲4.00 |
Simple Web Monetization /wp-admin/options-general.php?page=simple-web-monetization-for-wordpress-by-interledger-plugin-settings | 3.22 | 32.41 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Simple Web Monetization by Interledger: 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,795 ▲34 | 14.29 ▲0.12 | 1.70 ▲0.04 | 45.94 ▲6.48 |
Dashboard /wp-admin | 2,204 ▲24 | 5.63 ▼0.09 | 86.05 ▼3.48 | 39.17 ▼3.44 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 2.00 ▲0.05 | 59.71 ▲15.96 | 47.08 ▲8.91 |
Add New Post /wp-admin/post-new.php | 1,369 ▼160 | 16.71 ▼6.44 | 565.54 ▼105.97 | 45.28 ▼10.23 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.22 ▲0.00 | 96.31 ▼9.32 | 40.61 ▼6.65 |
Simple Web Monetization /wp-admin/options-general.php?page=simple-web-monetization-for-wordpress-by-interledger-plugin-settings | 971 | 1.81 | 27.03 | 33.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/simple-web-monetization-by-interledger/admin/class-simple-web-monetization-wordpress-interledger-admin.php:292
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: interledger, charity, web monetization
simple-web-monetization-by-interledger/simple-web-monetization-wordpress-interledger.php 85% from 13 tests
The principal PHP file in "Simple Web Monetization by Interledger" v. 1.0.0 is loaded by WordPress automatically on each request
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("simple-web-monetization-by-interledger.php" instead of "simple-web-monetization-wordpress-interledger.php")
Code Analysis Passed 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
Good job! No executable or dangerous file extensions detected402 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 138 | 496 | 338 |
Markdown | 1 | 31 | 0 | 45 |
JavaScript | 1 | 6 | 4 | 19 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin