Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.26ms] Passed 4 tests
Analyzing server-side resources used by Highfly
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 43.29 ▲1.31 |
Dashboard /wp-admin | 3.39 ▲0.09 | 46.67 ▼10.16 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 51.17 ▲0.40 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 94.78 ▲3.40 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.12 ▲3.58 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Highfly
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.26 ▼1.16 | 1.70 ▼0.16 | 43.01 ▼2.18 |
Dashboard /wp-admin | 2,206 ▲18 | 5.89 ▲1.02 | 108.64 ▲6.48 | 41.15 ▼3.89 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.98 ▼0.04 | 38.87 ▼1.31 | 35.77 ▲1.69 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.58 ▲0.23 | 579.05 ▼102.70 | 58.19 ▲5.10 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▼0.03 | 96.61 ▼14.82 | 41.41 ▼8.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'highfly\otifier' not found in wp-content/plugins/highfly/comment.php:6
- > PHP Fatal error
Uncaught Error: Class 'highfly\otifier' not found in wp-content/plugins/highfly/post.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function highfly\\add_action() in wp-content/plugins/highfly/highfly.php:44
- > 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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: newsletter, mail, comment, notify, subscription...
highfly/highfly.php Passed 13 tests
Analyzing the main PHP file in "Highfly" version 2.0
82 characters long description:
Sends an email to the addresses of your choice when a new post or comment is made.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected351 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 93 | 73 | 308 |
PO File | 1 | 13 | 14 | 43 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 3.38 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 1 | 12.50% |
▷ Concrete classes | 7 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 3 | 7.32% |
▷ Public methods | 41 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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