Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼13.79ms] Passed 4 tests
This is a short check of server-side resources used by Logico Bid‑Smart Advertising
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.18 ▼5.06 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.77 ▼15.69 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.27 ▼5.90 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.52 ▼26.82 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.62 ▼6.74 |
Server storage [IO: ▲11.75MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 102 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Logico Bid‑Smart Advertising
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.24 ▲0.05 | 1.81 ▼0.05 | 42.49 ▼2.87 |
Dashboard /wp-admin | 2,195 ▲15 | 5.58 ▲0.04 | 92.83 ▼18.48 | 38.30 ▼5.96 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.01 | 40.53 ▲2.02 | 35.14 ▼3.21 |
Add New Post /wp-admin/post-new.php | 1,526 ▼12 | 23.69 ▲0.59 | 610.96 ▼74.68 | 50.96 ▼14.63 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.22 ▲0.02 | 103.30 ▼2.97 | 43.89 ▼1.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/logico/inc/logicodashboard.php
- 38× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: _SESSION in wp-content/plugins/logico/inc/logicodashboard.php on line 148
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/logico/inc/customfunction.php:35
- > PHP Notice
Undefined variable: shop in wp-content/plugins/logico/inc/logicodashboard.php on line 204
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/logico/inc/logicodashboard.php on line 163
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/logico/inc/logicodashboard.php on line 162
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/logico/inc/settings.php:37
- > PHP Warning
Use of undefined constant LOGICO_PLUGIN_DIR - assumed 'LOGICO_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/logico/inc/logicodashboard.php on line 22
- > PHP Warning
Use of undefined constant LOGICO_PLUGIN_DIR - assumed 'LOGICO_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/logico/inc/logicodashboard.php on line 33
- > PHP Notice
Undefined variable: _SESSION in wp-content/plugins/logico/inc/logicodashboard.php on line 320
- > PHP Notice
Undefined variable: _SESSION in wp-content/plugins/logico/inc/logicodashboard.php on line 151
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: There are too many tags (11 tag instead of maximum 10)
- Screenshots: Add descriptions for screenshots #6, #7 in logico/assets to your readme.txt
logico/logico.php 77% from 13 tests
The main PHP file in "Logico Bid‑Smart Advertising" ver. 1.10.3 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.0" instead of "5.2")
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.0" instead of "7.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin101,552 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 1 | 64,273 |
CSS | 12 | 2,516 | 400 | 26,103 |
JavaScript | 14 | 251 | 94 | 10,046 |
PHP | 7 | 87 | 145 | 1,130 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
29 PNG files occupy 0.15MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logico.png | 5.21KB | 3.30KB | ▼ 36.57% |
assets/images/select-white.png | 14.27KB | 0.17KB | ▼ 98.78% |
assets/images/hover.png | 0.93KB | 0.09KB | ▼ 90.22% |
assets/images/user.png | 8.04KB | 7.85KB | ▼ 2.31% |
assets/images/close.png | 1.18KB | 0.32KB | ▼ 72.95% |