Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▲8.13ms] Passed 4 tests
An overview of server-side resources used by Mobile Kiosk
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.18 | 51.55 ▲9.15 |
Dashboard /wp-admin | 3.50 ▲0.20 | 67.58 ▲16.21 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 65.24 ▲18.57 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 102.60 ▼3.87 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 46.36 ▲11.03 |
All Kiosk Galleries /wp-admin/edit.php?post_type=kioskgallery | 3.46 | 51.07 |
Add New /wp-admin/post-new.php?post_type=kioskgallery | 3.50 | 61.44 |
Add New /wp-admin/post-new.php?post_type=kioskslide | 3.49 | 61.49 |
All Kiosk Slides /wp-admin/edit.php?post_type=kioskslide | 3.46 | 48.56 |
Server storage [IO: ▲5.45MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 74 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Mobile Kiosk
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,130 ▲384 | 15.66 ▲1.29 | 9.71 ▲7.79 | 43.78 ▲0.56 |
Dashboard /wp-admin | 2,391 ▲203 | 6.64 ▲1.78 | 134.15 ▲27.65 | 44.09 ▲3.10 |
Posts /wp-admin/edit.php | 2,332 ▲240 | 3.61 ▲1.61 | 56.72 ▲18.73 | 37.47 ▲2.60 |
Add New Post /wp-admin/post-new.php | 1,746 ▲204 | 22.37 ▲4.29 | 626.04 ▲27.45 | 36.85 ▼15.77 |
Media Library /wp-admin/upload.php | 1,474 ▲83 | 4.37 ▲0.14 | 89.69 ▼11.97 | 46.43 ▲2.01 |
All Kiosk Galleries /wp-admin/edit.php?post_type=kioskgallery | 1,299 | 3.56 | 50.07 | 28.76 |
Add New /wp-admin/post-new.php?post_type=kioskgallery | 2,210 | 4.51 | 92.32 | 80.22 |
Add New /wp-admin/post-new.php?post_type=kioskslide | 1,621 | 3.68 | 67.62 | 32.85 |
All Kiosk Slides /wp-admin/edit.php?post_type=kioskslide | 1,299 | 3.56 | 53.76 | 31.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 7× PHP files output text when accessed directly:
- > /wp-content/plugins/mobile-kiosk/templates/slide-template.php
- > /wp-content/plugins/mobile-kiosk/admin/slide_preview.php
- > /wp-content/plugins/mobile-kiosk/templates/preloader.php
- > /wp-content/plugins/mobile-kiosk/admin/slide_editor.php
- > /wp-content/plugins/mobile-kiosk/admin/metaboxes/gallery_sources.php
- > /wp-content/plugins/mobile-kiosk/admin/add_slide.php
- > /wp-content/plugins/mobile-kiosk/admin/metaboxes/gallery_options/sources.php
- 34× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Trying to get property 'post' of non-object in wp-content/plugins/mobile-kiosk/admin/slide_preview.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/mobile-kiosk/admin/metaboxes/gallery_options/business-info.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/mobile-kiosk/templates/single-kioskgallery--panel-left.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/mobile-kiosk/admin/routes.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mobile-kiosk/admin/post_templates.php:9
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/mobile-kiosk/admin/metaboxes/gallery_sources.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/mobile-kiosk/templates/single-kioskgallery--bar-bottom.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/mobile-kiosk/admin/metaboxes/gallery_slides.php:8
- > PHP Notice
Trying to get property 'post' of non-object in wp-content/plugins/mobile-kiosk/admin/slide_preview.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/mobile-kiosk/admin/metaboxes/gallery_options/appearance.php:8
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=kioskslide
- > Javascript (severe) in unknown
/wp-admin/js/post.min.js?ver=6.3.1 1:7120 Uncaught TypeError: window.tinymce.get is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Screenshots: Please describe screenshot #4 in mobile-kiosk/assets to your readme.txt
mobile-kiosk/mobile-kiosk.php 92% from 13 tests
The main file in "Mobile Kiosk" v. 1.3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 222 characters long)
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
Everything looks great! No dangerous files found in this plugin12,467 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 2,400 | 2,565 | 9,517 |
PHP | 22 | 320 | 256 | 1,118 |
Sass | 8 | 102 | 0 | 741 |
SVG | 1 | 0 | 0 | 685 |
JavaScript | 6 | 145 | 181 | 400 |
Ruby | 1 | 6 | 13 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin