Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.01ms] Passed 4 tests
An overview of server-side resources used by CSSbyua
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▼0.05 | 29.72 ▼11.76 |
Dashboard /wp-admin | 3.34 ▲0.03 | 52.09 ▼1.50 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.40 ▲2.59 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.00 ▼1.35 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.49 ▲3.65 |
cssbyua /wp-admin/themes.php?page=theme_options | 3.20 | 33.65 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Just a few items left to fix
- You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/cssbyua/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by CSSbyua
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 13.20 ▼1.55 | 4.57 ▲2.80 | 45.25 ▼3.46 |
Dashboard /wp-admin | 2,222 ▲16 | 5.81 ▲0.95 | 106.35 ▲3.02 | 38.15 ▼6.57 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.04 ▼0.01 | 35.71 ▼2.00 | 37.07 ▼3.05 |
Add New Post /wp-admin/post-new.php | 1,559 ▲27 | 18.48 ▼4.66 | 647.62 ▲15.66 | 56.77 ▲11.41 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.25 ▼0.01 | 98.05 ▼4.21 | 41.67 ▼6.19 |
cssbyua /wp-admin/themes.php?page=theme_options | 874 | 2.14 | 24.88 | 27.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
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
Please fix the following server-side errors
- > GET request to /wp-admin/themes.php?page=theme_options
- > 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/themes.php?page=theme_options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/themes.php?page=theme_options
- > User deprecated in wp-includes/functions.php+5453
Function get_current_theme is deprecated since version 3.4.0! Use wp_get_theme() instead.
- 6 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=theme_options
- > Notice in wp-content/plugins/cssbyua/cssbyua.php+120
Trying to access array offset on value of type bool
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 fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cssbyua/cssbyua.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
4 plugin tags: universal android and ios, browser, development, css
cssbyua/cssbyua.php Passed 13 tests
"CSSbyua" version 0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
111 characters long description:
depending on the browser, change the css. Project created for Mobile css and inject css on android application.
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
Success! There were no dangerous files found in this plugin187 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 29 | 98 |
CSS | 2 | 13 | 12 | 76 |
JavaScript | 1 | 4 | 0 | 13 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 5 | |
▷ Named functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin