Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.30MB] [CPU: ▼16.09ms] Passed 4 tests
Server-side resources used by REST API Helper
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 42.27 ▲0.49 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.99 ▼3.49 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 51.79 ▼1.57 |
Add New Post /wp-admin/post-new.php | 4.62 ▼1.26 | 47.11 ▼59.79 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.72 ▲2.13 |
REST API Helper Option /wp-admin/options-general.php?page=imh_settings | 3.22 | 31.22 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 9 new options
New WordPress options |
---|
imh_post_type |
imh_update_notice |
imh_error_notice |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for REST API Helper
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.62 ▲0.44 | 1.84 ▲0.07 | 40.25 ▼0.02 |
Dashboard /wp-admin | 2,193 ▲12 | 5.67 ▼0.07 | 90.45 ▼14.78 | 39.52 ▼4.71 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.06 ▲0.00 | 40.28 ▲5.23 | 38.03 ▲3.47 |
Add New Post /wp-admin/post-new.php | 1,548 ▲2 | 23.30 ▼0.13 | 666.49 ▲0.54 | 56.58 ▼2.55 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.23 ▼0.01 | 101.20 ▼5.48 | 44.81 ▼3.14 |
REST API Helper Option /wp-admin/options-general.php?page=imh_settings | 806 | 2.05 | 24.36 | 25.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- imh_update_notice
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- imh_error_notice
- imh_post_type
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
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 a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
rest-api-helper/rest-api-helper.php Passed 13 tests
This is the main PHP file of "REST API Helper" version 2.2.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
136 characters long description:
This plugin help REST API for display featured media source, author, categories, and custom fields. This plugin is made for Mobile Apps.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,264 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 258 | 293 | 1,219 |
PO File | 1 | 14 | 20 | 44 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 140.00 |
▷ Minimum class complexity | 140.00 |
▷ Maximum class complexity | 140.00 |
Average method complexity | 4.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 18 | |
▷ Global constants | 18 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin