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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.67MB] [CPU: ▼19.34ms] Passed 4 tests
A check of server-side resources used by AnotherSteempress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.14 ▼4.05 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.91 ▼2.16 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.11 ▼2.64 |
Add New Post /wp-admin/post-new.php | 3.12 ▼2.77 | 34.13 ▼68.51 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.99 ▼0.13 |
AnotherSteempress /wp-admin/options-general.php?page=anothersteempress | 3.29 | 31.84 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
anothersteempress |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AnotherSteempress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲181 | 13.98 ▼0.40 | 5.54 ▲3.82 | 36.83 ▼2.67 |
Dashboard /wp-admin | 2,214 ▲23 | 4.87 ▼0.02 | 114.60 ▲10.10 | 38.99 ▼6.70 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.03 ▼0.02 | 38.61 ▲1.65 | 37.06 ▲3.47 |
Add New Post /wp-admin/post-new.php | 1,521 ▲7 | 23.19 ▲5.72 | 701.31 ▲38.27 | 71.19 ▲18.29 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.21 ▼0.03 | 108.53 ▲3.98 | 47.69 ▲3.87 |
AnotherSteempress /wp-admin/options-general.php?page=anothersteempress | 956 | 2.03 | 28.25 | 27.38 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- anothersteempress
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=anothersteempress
- > Notice in wp-content/plugins/another-steempress/admin/partials/anothersteempress-admin-display.php+74
Undefined index: testnet-username
- > GET request to /wp-admin/options-general.php?page=anothersteempress
- > Notice in wp-content/plugins/another-steempress/admin/partials/anothersteempress-admin-display.php+77
Undefined index: testnet-posting-key
- > GET request to /wp-admin/options-general.php?page=anothersteempress
- > Notice in wp-content/plugins/another-steempress/admin/class-anothersteempress-admin.php+158
Undefined index: template
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/another-steempress/public/partials/anothersteempress-public-display.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_user_meta() in wp-content/plugins/another-steempress/admin/partials/anothersteempress-useropts-display.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/another-steempress/admin/partials/anothersteempress-admin-display.php:25
- > PHP Fatal error
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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: wordpress, steem, steemit, monetization, blockchain
another-steempress/anothersteempress.php 85% from 13 tests
The entry point to "AnotherSteempress" version 0.8.4 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("another-steempress.php" instead of "anothersteempress.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected632 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 203 | 576 | 626 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 13.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 2 | 5.41% |
▷ Public methods | 32 | 86.49% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.51% |
Functions | 5 | |
▷ Named functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin