Benchmarks
Plugin footprint 82% 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.65MB] [CPU: ▼14.43ms] 75% from 4 tests
Server-side resources used by Progressive Web Apps
It is recommended to improve the following
- CPU: The total CPU usage must kept under 500.00ms (currently 685.03ms on /wp-admin/admin.php?page=pwapp-options)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.70 ▼3.88 |
Dashboard /wp-admin | 3.34 ▲0.03 | 44.03 ▼4.03 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.81 ▲5.35 |
Add New Post /wp-admin/post-new.php | 3.21 ▼2.68 | 34.87 ▼55.17 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.33 ▲5.75 |
App Themes /wp-admin/admin.php?page=pwapp-options | 3.32 | 685.03 |
Look & Feel /wp-admin/admin.php?page=pwapp-options-theme-settings | 3.34 | 31.33 |
Server storage [IO: ▲15.02MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 165 new files
Database: no new tables, 29 new options
New WordPress options |
---|
pwapp_font_subtitles |
widget_theysaidso_widget |
pwapp_categories_details |
pwapp_inactive_categories |
pwapp_theme_timestamp |
can_compress_scripts |
widget_recent-posts |
pwapp_theme |
pwapp_enable_facebook |
pwapp_font_paragraphs |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Progressive Web Apps
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲96 | 13.33 ▼0.98 | 1.85 ▼0.04 | 38.93 ▼5.51 |
Dashboard /wp-admin | 2,236 ▲48 | 5.01 ▼0.86 | 110.12 ▼11.24 | 77.42 ▲33.24 |
Posts /wp-admin/edit.php | 2,134 ▲42 | 2.20 ▲0.22 | 38.86 ▲2.92 | 36.49 ▲2.69 |
Add New Post /wp-admin/post-new.php | 1,561 ▲47 | 23.12 ▲5.48 | 631.57 ▼52.49 | 37.15 ▼12.48 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.30 ▼0.01 | 97.76 ▼14.89 | 75.78 ▲26.49 |
App Themes /wp-admin/admin.php?page=pwapp-options | 1,640 | 1.96 | 32.83 | 72.82 |
Look & Feel /wp-admin/admin.php?page=pwapp-options-theme-settings | 3,264 | 4.65 | 127.98 | 80.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% 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 everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/progressive-web-apps/vendor/mobiledetect/mobiledetectlib/export/exportToJSON.php
- 25× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Leafo\\ScssPhp\\Formatter' not found in wp-content/plugins/progressive-web-apps/vendor/leafo/scssphp/src/Formatter/Debug.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/progressive-web-apps/admin/sections/feedback.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/progressive-web-apps/frontend/themes/app2/single.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function home_url() in wp-content/plugins/progressive-web-apps/frontend/sections/smart-app-banner.php:12
- > PHP Fatal error
Uncaught Error: Class 'Leafo\\ScssPhp\\Formatter' not found in wp-content/plugins/progressive-web-apps/vendor/leafo/scssphp/src/Formatter/Nested.php:22
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/progressive-web-apps/core/config.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'Leafo\\ScssPhp\\Formatter' not found in wp-content/plugins/progressive-web-apps/vendor/leafo/scssphp/src/Formatter/Crunched.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function single_cat_title() in wp-content/plugins/progressive-web-apps/frontend/themes/app2/category.php:3
- > PHP Warning
require_once(PWAPP_PLUGIN_PATHfrontend/sections/template.php): failed to open stream: No such file or directory in wp-content/plugins/progressive-web-apps/frontend/themes/app2/index.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_single() in wp-content/plugins/progressive-web-apps/frontend/sections/show-rel.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=pwapp-options
- > Network (severe)
https://d3oqwjghculspf.cloudfront.net/dashboard/more/themes/icons/phantom.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=pwapp-options
- > Network (severe)
https://d3oqwjghculspf.cloudfront.net/dashboard/more/themes/icons/extrude.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=pwapp-options
- > Network (severe)
https://d3oqwjghculspf.cloudfront.net/dashboard/more/themes/icons/palm.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=pwapp-options
- > Network (severe)
https://d3oqwjghculspf.cloudfront.net/dashboard/more/themes/icons/ghost.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=pwapp-options
- > Network (severe)
https://d3oqwjghculspf.cloudfront.net/dashboard/more/themes/icons/blend.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=pwapp-options
- > Network (severe)
https://d3oqwjghculspf.cloudfront.net/dashboard/more/themes/icons/future.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=pwapp-options
- > Network (severe)
https://d3oqwjghculspf.cloudfront.net/dashboard/more/themes/icons/lucid.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=pwapp-options
- > Network (severe)
https://d3oqwjghculspf.cloudfront.net/dashboard/more/themes/icons/base.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=pwapp-options
- > Network (severe)
https://d3oqwjghculspf.cloudfront.net/dashboard/more/themes/icons/popsicle.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=pwapp-options
- > Network (severe)
https://d3oqwjghculspf.cloudfront.net/dashboard/more/themes/icons/invision.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=pwapp-options
- > Network (severe)
https://d3oqwjghculspf.cloudfront.net/dashboard/more/themes/icons/mosaic.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=pwapp-options
- > Network (severe)
https://d3oqwjghculspf.cloudfront.net/dashboard/more/themes/icons/elevate.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=pwapp-options
- > Network (severe)
https://d3oqwjghculspf.cloudfront.net/dashboard/more/themes/icons/folio.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=pwapp-options
- > Network (severe)
https://d3oqwjghculspf.cloudfront.net/dashboard/more/themes/icons/pulse.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=pwapp-options
- > Network (severe)
https://d3oqwjghculspf.cloudfront.net/dashboard/more/themes/icons/pure.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=pwapp-options
- > Network (severe)
https://d3oqwjghculspf.cloudfront.net/dashboard/more/themes/icons/vedi.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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 your attention:
- Screenshots: These screenshots require images: #1 (The Mosaic progressive web app), #2 ("App Themes" page from the admin panel.), #3 ("App Themes" page from the admin panel with other Premium app themes), #4 ("Look & Feel" page from the admin panel. Customize theme by choosing colors and fonts.), #5 ("Look & Feel" page from the admin panel. Customize theme by adding your own app icon & logo.)
- Tags: You are using too many tags: 15 tag instead of maximum 10
progressive-web-apps/progressive-web-apps.php Passed 13 tests
The main file in "Progressive Web Apps" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
123 characters long description:
Progressive Web Apps use modern web capabilities to deliver app-like user experiences. They're reliable, fast and engaging.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin17,113 lines of code in 138 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 67 | 3,044 | 4,324 | 9,554 |
JavaScript | 29 | 1,337 | 1,656 | 5,000 |
JSON | 19 | 0 | 0 | 967 |
Sass | 1 | 132 | 10 | 642 |
CSS | 14 | 79 | 50 | 590 |
Markdown | 7 | 149 | 0 | 340 |
XML | 1 | 0 | 0 | 20 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please tend to the following items
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 130)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 41.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 709.00 |
Average method complexity | 4.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 130.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 44 | |
▷ Abstract classes | 2 | 4.55% |
▷ Concrete classes | 42 | 95.45% |
▷ Final classes | 0 | 0.00% |
Methods | 482 | |
▷ Static methods | 31 | 6.43% |
▷ Public methods | 201 | 41.70% |
▷ Protected methods | 263 | 54.56% |
▷ Private methods | 18 | 3.73% |
Functions | 16 | |
▷ Named functions | 3 | 18.75% |
▷ Anonymous functions | 13 | 81.25% |
Constants | 84 | |
▷ Global constants | 13 | 15.48% |
▷ Class constants | 71 | 84.52% |
▷ Public constants | 71 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/btn_close_msg.png | 3.09KB | 0.43KB | ▼ 86.13% |
admin/images/ribbon-premium.png | 3.76KB | 0.91KB | ▼ 75.90% |
pwa-logo.png | 24.21KB | 10.71KB | ▼ 55.77% |
admin/images/appticles-logo.png | 0.50KB | 0.58KB | 0.00% |