Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▲1.40ms] Passed 4 tests
Server-side resources used by Hyper PWA
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.43 | 47.70 ▲2.28 |
Dashboard /wp-admin | 3.72 ▲0.41 | 57.68 ▲6.13 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 63.49 ▲5.03 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 103.41 ▼2.22 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 41.98 ▲0.52 |
Server storage [IO: ▲0.16MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 8 new options
New WordPress options |
---|
hyper-pwa-transient-timestamp |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
hyper-pwa-version-id |
Browser metrics Passed 4 tests
An overview of browser requirements for Hyper PWA
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,997 ▲211 | 14.89 ▲0.40 | 2.07 ▲0.22 | 39.16 ▼1.01 |
Dashboard /wp-admin | 2,373 ▲196 | 6.46 ▲0.84 | 110.45 ▲20.47 | 40.55 ▼5.03 |
Posts /wp-admin/edit.php | 2,301 ▲201 | 3.58 ▲1.62 | 54.05 ▲16.90 | 32.16 ▼5.43 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 23.66 ▲0.57 | 621.65 ▼22.60 | 32.94 ▼21.90 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.43 ▲0.29 | 86.78 ▼18.77 | 43.90 ▲0.64 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
- Screenshots: Screenshot #1 (https://download.flexplat.com/flexplat.png) image required
hyper-pwa/hyper-pwa.php 92% from 13 tests
"Hyper PWA" version 2.33.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
There were no executable files found in this plugin2,863 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 575 | 98 | 2,783 |
JavaScript | 3 | 5 | 0 | 46 |
CSS | 1 | 4 | 0 | 34 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 19.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 3.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 109 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 83 | 76.15% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 26 | 23.85% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 45 | |
▷ Global constants | 45 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/maskable-icon-192.png | 6.45KB | 2.79KB | ▼ 56.73% |
img/icon-512.png | 16.13KB | 7.96KB | ▼ 50.64% |
img/maskable-icon-512.png | 21.81KB | 7.02KB | ▼ 67.80% |
img/icon-192.png | 4.97KB | 3.11KB | ▼ 37.51% |