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 gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.58ms] Passed 4 tests
A check of server-side resources used by WP Extended Data to REST API
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.76 ▼4.20 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.06 ▼7.15 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.54 ▼2.57 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 96.09 ▼0.38 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.16 ▲3.30 |
WP Extended Data to REST API /wp-admin/options-general.php?page=wp-extended-data-to-rest-api | 3.21 | 30.32 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_recent-comments |
wpedtra-p2p |
wpedtra-pt-post |
wpedtra-children_ids |
can_compress_scripts |
wpedtra-terms |
db_upgraded |
wpedtra-meta |
widget_theysaidso_widget |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WP Extended Data to REST API
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.60 ▼0.98 | 1.67 ▼0.64 | 38.77 ▼10.32 |
Dashboard /wp-admin | 2,210 ▲28 | 4.86 ▼0.96 | 110.00 ▲0.78 | 41.57 ▼3.97 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.00 | 39.79 ▲3.81 | 34.58 ▲0.95 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.27 ▲4.97 | 654.53 ▲35.31 | 57.32 ▲7.37 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.18 ▼0.02 | 94.30 ▼1.50 | 43.53 ▼2.10 |
WP Extended Data to REST API /wp-admin/options-general.php?page=wp-extended-data-to-rest-api | 883 | 2.03 | 24.07 | 32.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 12 options
- theysaidso_admin_options
- wpedtra-meta
- wpedtra-pt-post
- widget_recent-posts
- wpedtra-children_ids
- db_upgraded
- wpedtra-p2p
- wpedtra-pt-page
- widget_recent-comments
- widget_theysaidso_widget
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Contributors: No valid plugin tags found
- Contributors: Plugin contributors not specified
wp-extended-data-to-rest-api/wp-extended-data-to-rest-api.php Passed 13 tests
This is the main PHP file of "WP Extended Data to REST API" version 1.0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
71 characters long description:
Exposes Extended Data (meta, terms, p2p, ...) in the WordPress REST API
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
No dangerous file extensions were detected496 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 1 | 80 | 0 | 320 |
PHP | 3 | 74 | 13 | 176 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.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
There were not PNG files found in your plugin