Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.60ms] Passed 4 tests
This is a short check of server-side resources used by Highlight Reel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.73 ▼8.49 |
Dashboard /wp-admin | 3.34 ▼0.01 | 47.94 ▼12.57 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.27 ▼0.40 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 95.72 ▼4.95 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.76 ▲3.53 |
Highlight Reel /wp-admin/options-general.php?page=hr-options | 3.23 | 31.83 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
hr_shots_to_show |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Highlight Reel
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.72 ▲0.52 | 1.66 ▼0.26 | 47.10 ▲3.87 |
Dashboard /wp-admin | 2,201 ▲21 | 5.51 ▼0.06 | 90.95 ▼2.59 | 41.32 ▲2.65 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 2.00 ▲0.01 | 41.19 ▲3.15 | 36.91 ▲0.77 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.61 ▲0.27 | 657.49 ▲20.50 | 51.90 ▼6.66 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.26 ▲0.03 | 100.12 ▼7.66 | 46.40 ▼0.72 |
Highlight Reel /wp-admin/options-general.php?page=hr-options | 804 | 2.04 | 24.87 | 25.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- hr_shots_to_show
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 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 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× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/highlight-reel/highlight-reel.php:22
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== highlight-reel ===
)
highlight-reel/highlight-reel.php Passed 13 tests
The principal PHP file in "Highlight Reel" v. 1.1 is loaded by WordPress automatically on each request
94 characters long description:
A simple plugin that enables you to easily display your latest Dribbble shots on your website.
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
Everything looks great! No dangerous files found in this plugin128 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 35 | 10 | 128 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.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
There were not PNG files found in your plugin