Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/wp-webcam-widget-shortcode/wordpress-webcam.php+41
Methods with the same name as their class will not be constructors in a future version of PHP; wpwws_widget has a deprecated constructor
Server metrics [RAM: ▼1.90MB] [CPU: ▼56.97ms] Passed 4 tests
This is a short check of server-side resources used by Wordpress Live Webcam Widget & Shortcode
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 4.28 ▼45.70 |
Dashboard /wp-admin | 2.10 ▼1.20 | 5.84 ▼43.13 |
Posts /wp-admin/edit.php | 2.10 ▼1.25 | 5.63 ▼42.66 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.78 | 6.90 ▼96.39 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 6.00 ▼24.58 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_wpwws_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Wordpress Live Webcam Widget & Shortcode
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.22 ▼1.16 | 4.34 ▲2.16 | 40.53 ▼0.97 |
Dashboard /wp-admin | 2,206 ▲15 | 5.91 ▲0.03 | 106.10 ▲3.25 | 43.92 ▼0.38 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.02 | 40.00 ▼0.47 | 35.07 ▲1.11 |
Add New Post /wp-admin/post-new.php | 1,514 ▼28 | 17.86 ▼0.50 | 613.34 ▼0.90 | 56.45 ▲0.41 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.23 ▲0.01 | 101.07 ▼1.89 | 42.44 ▼1.89 |
WP Webcam Shortcode /wp-admin/miksco.php?page=wpw | 26 | 0.44 | 0.08 | 12.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/wp-webcam-widget-shortcode/wordpress-webcam.php+41
Methods with the same name as their class will not be constructors in a future version of PHP; wpwws_widget has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_wpwws_widget
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-webcam-widget-shortcode/wordpress-webcam.php
- > /wp-content/plugins/wp-webcam-widget-shortcode/shortcode_info.php
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/miksco.php?page=wpw
- > Network (severe)
wp-admin/miksco.php?page=wpw - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Contributors: The plugin contributors field is not present
wp-webcam-widget-shortcode/wordpress-webcam.php 77% from 13 tests
The main PHP file in "Wordpress Live Webcam Widget & Shortcode" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-webcam-widget-shortcode.php" instead of "wordpress-webcam.php")
- Description: Keep the plugin description shorter than 140 characters (currently 171 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin187 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 29 | 15 | 135 |
PO File | 1 | 11 | 11 | 52 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin