Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.44ms] Passed 4 tests
Server-side resources used by Genesis REST API Integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 38.20 ▼3.30 |
Dashboard /wp-admin | 3.32 ▼0.02 | 48.96 ▼14.36 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.64 ▲1.11 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 93.58 ▼13.22 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.91 ▲4.26 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Genesis REST API Integration: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 14.44 ▲0.07 | 1.92 ▲0.23 | 41.11 ▲2.22 |
Dashboard /wp-admin | 2,221 ▲17 | 4.85 ▼0.08 | 110.14 ▼11.49 | 43.16 ▼6.21 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▲0.02 | 40.83 ▲6.70 | 33.86 ▼0.34 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.33 ▲0.01 | 656.97 ▲56.70 | 57.06 ▲1.03 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.24 ▲0.00 | 110.94 ▲8.31 | 46.52 ▼0.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/genesis-rest-api-integration/genesis-rest-api-integration.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: response, object, api, post, rest...
genesis-rest-api-integration/genesis-rest-api-integration.php 92% from 13 tests
The primary PHP file in "Genesis REST API Integration" version 1.1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 144 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin88 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 30 | 55 | 88 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected