Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.55MB] [CPU: ▼21.19ms] Passed 4 tests
Server-side resources used by WP to Alexa Flash Briefing
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 39.32 ▼3.26 |
Dashboard /wp-admin | 3.44 ▲0.13 | 45.57 ▼3.93 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 49.18 ▲6.90 |
Add New Post /wp-admin/post-new.php | 3.31 ▼2.58 | 37.61 ▼79.76 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.57 ▲2.20 |
All Briefings /wp-admin/edit.php?post_type=w2afb_briefing | 3.40 | 34.50 |
Add New /wp-admin/post-new.php?post_type=w2afb_briefing | 3.31 | 32.83 |
Category /wp-admin/edit-tags.php?taxonomy=w2afb_briefing_cat&post_type=w2afb_briefing | 3.35 | 34.03 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WP to Alexa Flash Briefing: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲92 | 13.29 ▼1.01 | 1.83 ▲0.03 | 40.58 ▼3.04 |
Dashboard /wp-admin | 2,241 ▲49 | 5.87 ▲0.92 | 102.89 ▼6.36 | 41.30 ▼2.69 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.01 ▼0.02 | 41.70 ▼1.61 | 35.57 ▼0.71 |
Add New Post /wp-admin/post-new.php | 1,562 ▲34 | 23.37 ▲4.82 | 656.27 ▲28.90 | 53.99 ▲4.18 |
Media Library /wp-admin/upload.php | 1,420 ▲35 | 4.27 ▲0.03 | 95.32 ▼4.13 | 40.34 ▼3.59 |
All Briefings /wp-admin/edit.php?post_type=w2afb_briefing | 1,097 | 1.93 | 30.61 | 30.82 |
Add New /wp-admin/post-new.php?post_type=w2afb_briefing | 6,188 | 24.17 | 865.24 | 27.63 |
WP to Alexa Flash Briefing /wp-admin/options-general.php?page=WP to Alexa Flash Briefing | 804 | 2.03 | 24.56 | 34.64 |
Category /wp-admin/edit-tags.php?taxonomy=w2afb_briefing_cat&post_type=w2afb_briefing | 1,294 | 2.14 | 26.54 | 28.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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=w2afb_briefing
- > User notice in wp-includes/functions.php+5905
Function register_rest_route was called incorrectly. The REST API route definition for w2afb/v1/briefings is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.)
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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:
- Screenshots: No descriptions were found for these screenshots #0, #0 in wp-to-alexa-flash-briefing/assets to your readme.txt
- Screenshots: These screenshots do not have images: #1 (A custom post type 'Briefing' for creating feeds is provided), #2 (Provide endpoint URL for registering Alexa flash briefing skill.)
wp-to-alexa-flash-briefing/wp-to-alexa-flash-briefing.php Passed 13 tests
This is the main PHP file of "WP to Alexa Flash Briefing" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
77 characters long description:
This is a plugin to create a feed of Alexa flash briefing skill in WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected519 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 113 | 187 | 518 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 12.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 3 | 9.09% |
▷ Public methods | 32 | 96.97% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.03% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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 files were detected