Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/ultimate-browser-specific-css/ultimate-browser-specific-css.php+105
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.55ms] Passed 4 tests
An overview of server-side resources used by Ultimate Browser Specific Css
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.96 ▼3.33 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.60 ▼2.48 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.52 ▲3.80 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.73 ▼1.99 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.32 ▲1.59 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
bsc_data |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Ultimate Browser Specific Css
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲85 | 13.34 ▼0.87 | 4.54 ▲2.76 | 42.17 ▼6.86 |
Dashboard /wp-admin | 2,219 ▲31 | 4.87 ▼0.95 | 96.91 ▼18.63 | 44.09 ▼0.48 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.04 ▲0.01 | 40.71 ▲1.67 | 34.17 ▼2.53 |
Add New Post /wp-admin/post-new.php | 1,543 ▲1 | 23.11 ▲4.90 | 651.54 ▲10.74 | 61.21 ▲7.86 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.21 ▲0.04 | 121.17 ▲17.51 | 47.09 ▲4.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- bsc_data
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% 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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ultimate-browser-specific-css/ultimate-browser-specific-css.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #1 (screenshot.png)
ultimate-browser-specific-css/ultimate-browser-specific-css.php Passed 13 tests
The primary PHP file in "Ultimate Browser Specific Css" version 1.0 is used by WordPress to initiate all plugin functionality
88 characters long description:
javascript plugin that helps you to write Browser specific css on your wordpress website
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin75 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 34 | 12 | 74 |
JavaScript | 1 | 0 | 10 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin