Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.61MB] [CPU: ▼157.79ms] Passed 4 tests
Analyzing server-side resources used by WP Alexa Flash Briefing
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.04 | 39.10 ▲11.40 |
Dashboard /wp-admin | 3.11 ▲0.05 | 52.22 ▲4.06 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 46.08 ▼0.36 |
Add New Post /wp-admin/post-new.php | 2.89 ▼2.55 | 21.94 ▼633.40 |
Media Library /wp-admin/upload.php | 3.05 ▲0.04 | 32.69 ▼1.47 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=briefing | 3.04 | 38.59 |
All Briefings /wp-admin/edit.php?post_type=briefing | 3.10 | 33.00 |
Add New /wp-admin/post-new.php?post_type=briefing | 2.89 | 24.96 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 1 new option
New WordPress options |
---|
category_children |
Browser metrics Passed 4 tests
Checking browser requirements for WP Alexa Flash Briefing
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,747 ▲151 | 15.85 ▲0.37 | 8.70 ▲0.25 | 52.06 ▲2.05 |
Dashboard /wp-admin | 3,013 ▲82 | 5.90 ▼0.02 | 138.15 ▼7.98 | 119.84 ▲3.81 |
Posts /wp-admin/edit.php | 2,779 ▲43 | 2.70 ▲0.01 | 68.84 ▲1.98 | 95.51 ▼5.36 |
Add New Post /wp-admin/post-new.php | 1,709 ▲26 | 18.80 ▼0.04 | 387.21 ▼16.72 | 119.16 ▲4.53 |
Media Library /wp-admin/upload.php | 1,847 ▲40 | 5.04 ▲0.03 | 153.89 ▲1.43 | 128.54 ▲1.08 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=briefing | 1,950 | 2.52 | 67.51 | 89.34 |
All Briefings /wp-admin/edit.php?post_type=briefing | 1,514 | 2.62 | 69.58 | 87.84 |
Add New /wp-admin/post-new.php?post_type=briefing | 5,688 | 16.69 | 456.28 | 120.22 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 1 option
- category_children
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/post-new.php?post_type=briefing
- > User notice in wp-includes/functions.php+5663
register_rest_route was called incorrectly. The REST API route definition for alexa-fb/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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: voice, amazon, alexa, flash briefing
wp-alexa-flash-briefing/wp-alexa-flash-briefing.php 92% from 13 tests
The main PHP file in "WP Alexa Flash Briefing" ver. 1.6.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin140 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 30 | 23 | 140 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin