Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.34MB] [CPU: ▼0.78ms] Passed 4 tests
An overview of server-side resources used by Attribution Query String Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.35 | 42.46 ▲3.45 |
Dashboard /wp-admin | 3.68 ▲0.38 | 54.24 ▲7.29 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 50.95 ▲3.42 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 83.52 ▼15.09 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 37.69 ▲5.10 |
Query String Manager /wp-admin/options-general.php?page=aqsm-settings | 3.49 | 35.09 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
aqsm_version |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Attribution Query String Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.73 ▼0.65 | 1.61 ▼0.13 | 40.43 ▼0.47 |
Dashboard /wp-admin | 2,214 ▲29 | 5.81 ▼0.05 | 93.43 ▼4.42 | 38.94 ▲0.52 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.04 ▲0.03 | 39.63 ▲5.74 | 34.34 ▼1.45 |
Add New Post /wp-admin/post-new.php | 6,182 ▲4,644 | 24.96 ▲1.78 | 920.23 ▲234.80 | 53.73 ▼3.60 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.21 ▲0.00 | 96.12 ▼5.16 | 42.15 ▼0.56 |
Query String Manager /wp-admin/options-general.php?page=aqsm-settings | 935 | 1.71 | 22.96 | 30.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/attribution-query-string-manager/includes/aqsm_engine_init.php+23
Undefined index: AQSM_TrackingQSVars
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- aqsm_version
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- 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
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=aqsm-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=aqsm-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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/attribution-query-string-manager/aqsm.php:16
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: posts, link, page, ads, links...
attribution-query-string-manager/aqsm.php 85% from 13 tests
The principal PHP file in "Attribution Query String Manager" v. 0.1.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 244 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("attribution-query-string-manager.php" instead of "aqsm.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
Success! There were no dangerous files found in this plugin1,900 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 368 | 377 | 1,755 |
JavaScript | 1 | 50 | 9 | 131 |
CSS | 1 | 7 | 1 | 14 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 164.50 |
▷ Minimum class complexity | 131.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 4.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 85 | |
▷ Static methods | 1 | 1.18% |
▷ Public methods | 69 | 81.18% |
▷ Protected methods | 16 | 18.82% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 26 | |
▷ Global constants | 26 | 100.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