Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▲2.37ms] Passed 4 tests
A check of server-side resources used by WP Rest API Customizer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.46 ▼1.00 |
Dashboard /wp-admin | 3.38 ▲0.08 | 47.93 ▼3.10 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 58.63 ▲11.94 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 102.68 ▲12.35 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 37.04 ▲1.63 |
WP Rest API Customizer /wp-admin/options-general.php?page=wp-rest-api-customizer | 3.27 | 38.78 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WP Rest API Customizer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.54 ▼1.07 | 1.76 ▼0.06 | 40.06 ▼8.55 |
Dashboard /wp-admin | 2,210 ▲22 | 4.83 ▼0.00 | 109.52 ▼8.51 | 43.90 ▼2.71 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.05 | 40.23 ▲0.70 | 34.23 ▲0.15 |
Add New Post /wp-admin/post-new.php | 1,537 ▲18 | 23.06 ▼0.16 | 617.39 ▼48.00 | 57.12 ▼2.18 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.24 ▲0.05 | 95.77 ▼0.08 | 42.77 ▲2.61 |
WP Rest API Customizer /wp-admin/options-general.php?page=wp-rest-api-customizer | 1,287 | 2.18 | 23.07 | 38.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
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 88% 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 to be fixed:
- Screenshots: A description for screenshot #3 is missing in wp-rest-api-customizer/assets to your readme.txt
- Requires php: Invalid version format
wp-rest-api-customizer/wp-rest-api-customizer.php Passed 13 tests
The main file in "WP Rest API Customizer" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
127 characters long description:
Customize the WP REST API endpoints to improve your app speed and performance by adding or removing objects fron JSON response.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin543 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 175 | 15 | 543 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.78 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin