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.01MB] [CPU: ▼8.86ms] Passed 4 tests
A check of server-side resources used by Quietly Insights
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.47 ▲0.92 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.03 ▼5.34 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.70 ▼2.38 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.51 ▼26.15 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.23 ▼1.57 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
quietly-analytics_admin_activation_notice |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
qap_id |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Quietly Insights
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲82 | 13.28 ▼1.09 | 4.42 ▲2.80 | 42.89 ▲2.73 |
Dashboard /wp-admin | 2,223 ▲35 | 4.85 ▼1.03 | 108.53 ▲3.67 | 38.60 ▼3.35 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.06 ▲0.01 | 40.17 ▲0.67 | 35.60 ▼0.17 |
Add New Post /wp-admin/post-new.php | 1,543 ▲9 | 23.55 ▲0.37 | 665.93 ▲57.36 | 65.93 ▲16.35 |
Media Library /wp-admin/upload.php | 1,405 ▲14 | 4.17 ▼0.03 | 98.12 ▲0.63 | 43.51 ▲1.79 |
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
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
Please fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/quietly-insights/quietly-analytics.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/quietly-insights/views/quietly-analytics-settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/quietly-insights/views/quietly-analytics-activation-notice.php:11
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 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
4 plugin tags: analytics, content analysis, completion rate, read rate
quietly-insights/quietly-analytics.php 92% from 13 tests
The entry point to "Quietly Insights" version 1.2.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("quietly-insights.php" instead of "quietly-analytics.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin494 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 33 | 32 | 246 |
CSS | 2 | 23 | 3 | 133 |
JavaScript | 1 | 9 | 7 | 76 |
SVG | 2 | 0 | 1 | 39 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.60MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544x500.png | 425.65KB | 301.77KB | ▼ 29.10% |
images/icon-x.png | 1.51KB | 0.37KB | ▼ 75.40% |
assets/icon-128x128.png | 14.63KB | 6.66KB | ▼ 54.47% |
images/logo-quietly-insights.png | 6.31KB | 3.12KB | ▼ 50.64% |
images/icon-check.png | 2.73KB | 1.60KB | ▼ 41.30% |