Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.52ms] Passed 4 tests
Analyzing server-side resources used by CSS Url Argument
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 40.44 ▼0.18 |
Dashboard /wp-admin | 3.32 ▼0.02 | 48.10 ▼17.09 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 53.14 ▲1.77 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 87.29 ▼14.26 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 38.39 ▼2.53 |
How To /wp-admin/admin.php?page=cssusp_sub_page | 3.21 | 33.03 |
CSS Url Argument /wp-admin/admin.php?page=cssusp | 3.21 | 33.73 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by CSS Url Argument
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲55 | 14.37 ▲0.02 | 2.15 ▲0.04 | 43.57 ▼0.63 |
Dashboard /wp-admin | 2,215 ▲35 | 5.56 ▼0.09 | 82.06 ▼6.53 | 37.78 ▼1.75 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 2.03 ▲0.09 | 37.90 ▼2.77 | 41.38 ▲3.85 |
Add New Post /wp-admin/post-new.php | 1,550 ▲22 | 23.25 ▲0.07 | 675.23 ▲3.87 | 45.86 ▼6.42 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.19 ▲0.07 | 95.91 ▼27.44 | 43.65 ▼4.92 |
How To /wp-admin/admin.php?page=cssusp_sub_page | 849 | 1.99 | 23.32 | 25.87 |
CSS Url Argument /wp-admin/admin.php?page=cssusp | 850 | 1.99 | 22.51 | 28.09 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/css-url-argument/CSS_url_Argument.php
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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: custom, argument, css, url, parameter
css-url-argument/CSS_url_Argument.php 92% from 13 tests
The principal PHP file in "CSS Url Argument" v. 1.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("css-url-argument.php" instead of "CSS_url_Argument.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected122 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 9 | 21 | 95 |
JavaScript | 1 | 7 | 22 | 15 |
CSS | 2 | 6 | 16 | 12 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin