Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼2.68ms] Passed 4 tests
Analyzing server-side resources used by Quietly
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 41.93 ▲4.81 |
Dashboard /wp-admin | 3.43 ▲0.13 | 50.99 ▼0.28 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 47.32 ▼6.59 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 81.62 ▼6.83 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 39.70 ▲2.99 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
quietly_admin_activation_notice |
widget_recent-comments |
quietly_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Quietly: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.28 ▼1.11 | 1.84 ▲0.05 | 45.25 ▲3.21 |
Dashboard /wp-admin | 2,226 ▲35 | 5.90 ▲1.01 | 99.14 ▼7.80 | 37.22 ▼7.50 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.04 ▲0.02 | 35.52 ▼6.53 | 31.85 ▼2.56 |
Add New Post /wp-admin/post-new.php | 1,772 ▲239 | 23.81 ▲0.59 | 709.69 ▲64.04 | 37.36 ▼18.42 |
Media Library /wp-admin/upload.php | 1,402 ▲17 | 4.16 ▼0.06 | 106.00 ▲7.06 | 44.15 ▲0.98 |
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
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/quietly/admin/views/quietly-content-insert-modal.php:9
- > PHP Fatal error
Uncaught Error: Class 'QuietlyOptions' not found in wp-content/plugins/quietly/admin/views/quietly-settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/quietly/admin/views/quietly-activation-notice.php:11
- > PHP Fatal error
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 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (20 tag instead of maximum 10)
quietly/quietly-wordpress.php 85% from 13 tests
The primary PHP file in "Quietly" version 3.0.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 159 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("quietly.php" instead of "quietly-wordpress.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,435 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 109 | 349 | 824 |
JavaScript | 5 | 67 | 310 | 432 |
CSS | 2 | 30 | 23 | 179 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 8.38 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 6 | 13.95% |
▷ Public methods | 37 | 86.05% |
▷ Protected methods | 6 | 13.95% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 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
9 PNG files occupy 0.29MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/empty.png | 0.08KB | 0.09KB | 0.00% |
images/instruction-3.png | 103.80KB | 34.38KB | ▼ 66.88% |
images/activation-notice-bg.png | 8.77KB | 3.72KB | ▼ 57.62% |
images/instruction-2.png | 52.31KB | 20.50KB | ▼ 60.82% |
images/placeholder-profile.png | 1.78KB | 1.91KB | 0.00% |