Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.55ms] Passed 4 tests
This is a short check of server-side resources used by Custom Stylesheet Extension for WPtouch
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.36 ▼2.58 |
Dashboard /wp-admin | 3.34 ▲0.03 | 43.97 ▼5.53 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.50 ▲8.68 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 78.74 ▼12.89 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.88 ▲2.80 |
Custom Stylesheet WPtouch /wp-admin/options-general.php?page=wp_touch_stylesheet_addon_settings | 3.20 | 32.46 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Custom Stylesheet Extension for WPtouch
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲58 | 13.64 ▼0.74 | 1.79 ▼0.36 | 42.83 ▼1.24 |
Dashboard /wp-admin | 2,204 ▲16 | 5.82 ▲0.93 | 107.55 ▼7.63 | 41.50 ▼4.52 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.02 | 39.77 ▲4.74 | 35.78 ▲0.10 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.09 ▼0.13 | 648.31 ▼40.76 | 58.56 ▼1.54 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.18 ▼0.09 | 103.59 ▼2.92 | 45.09 ▼2.79 |
Custom Stylesheet WPtouch /wp-admin/options-general.php?page=wp_touch_stylesheet_addon_settings | 782 | 2.03 | 28.05 | 26.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=wp_touch_stylesheet_addon_settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wp_touch_stylesheet_addon_settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-touch-stylesheet-addon/wp-touch-stylesheet-addon.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% 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
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wp-touch-stylesheet-addon ===
)
wp-touch-stylesheet-addon/wp-touch-stylesheet-addon.php Passed 13 tests
The main PHP file in "Custom Stylesheet Extension for WPtouch" ver. 1.0.8 adds more information about the plugin and also serves as the entry point for this plugin
49 characters long description:
Adds a custom mobile only stylesheet for WPtouch!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin103 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 35 | 56 | 103 |
PHP code Passed 2 tests
Analyzing 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 | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin