Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.21MB] [CPU: ▼137.61ms] Passed 4 tests
Server-side resources used by Vendor List based on IAB - wordpress plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.98 ▲0.25 | 37.01 ▲13.39 |
Dashboard /wp-admin | 3.31 ▲0.25 | 46.50 ▼4.97 |
Posts /wp-admin/edit.php | 3.36 ▲0.24 | 52.54 ▲8.08 |
Add New Post /wp-admin/post-new.php | 5.59 ▲0.16 | 89.20 ▼560.05 |
Media Library /wp-admin/upload.php | 3.18 ▲0.17 | 37.42 ▲6.51 |
IAB Vendor List /wp-admin/options-general.php?page=iab_vendor_list_nsc | 3.15 | 35.27 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Vendor List based on IAB - wordpress plugin: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲89 | 16.05 ▲0.38 | 11.67 ▲2.58 | 46.48 ▼3.14 |
Dashboard /wp-admin | 2,978 ▲47 | 5.93 ▼0.18 | 153.42 ▲4.42 | 111.86 ▼2.08 |
Posts /wp-admin/edit.php | 2,744 ▲8 | 2.70 ▼0.00 | 59.00 ▼5.85 | 80.12 ▼11.88 |
Add New Post /wp-admin/post-new.php | 1,675 ▲60 | 18.87 ▼3.04 | 371.78 ▲101.31 | 105.96 ▲0.41 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.04 ▼0.00 | 142.43 ▼5.24 | 121.84 ▲9.13 |
IAB Vendor List /wp-admin/options-general.php?page=iab_vendor_list_nsc | 1,281 | 2.10 | 56.53 | 71.15 |
Uninstaller [IO: ▲0.08MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attentionThis plugin does not fully uninstall, leaving 1 option in the database
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/vendor-list-of-iab/uninstall.php+8
Constant PLUGIN_PATH_NSC_IVL already defined
- Uninstaller has failed for this plugin, leaving 15 files (0.08MB) in the plugin directory
- (new file) class/class-cookies-nsc_ivl.php
- (new file) class/class-uninstall-nsc_ivl.php
- (new file) admin/js/admin.js
- (new file) class/class-plugin-configs-nsc_ivl.php
- (new file) class/class-iab-vendor-list-nsc_ivl.php
- (new file) class/class-shortcode-nsc_ivl.php
- (new file) class/class-admin-settings-nsc_ivl.php
- (new file) class/class-input-validation-nsc_ivl.php
- (new file) class/class-admin-html-formfields-nsc_ivl.php
- (new file) admin/tpl/admin.php
- ...
- recovery_mode_email_last_sent
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/vendor-list-of-iab/uninstall.php
- 21× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: settings_object in wp-content/plugins/vendor-list-of-iab/admin/tpl/admin.php on line 20
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/vendor-list-of-iab/admin/tpl/admin.php on line 31
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/vendor-list-of-iab/admin/tpl/admin.php:34
- > PHP Notice
Trying to get property 'tabs' of non-object in wp-content/plugins/vendor-list-of-iab/admin/tpl/admin.php on line 32
- > PHP Notice
Trying to get property 'tabs' of non-object in wp-content/plugins/vendor-list-of-iab/admin/tpl/admin.php on line 20
- > PHP Notice
Trying to get property 'active_tab_index' of non-object in wp-content/plugins/vendor-list-of-iab/admin/tpl/admin.php on line 27
- > PHP Notice
Trying to get property 'page_title' of non-object in wp-content/plugins/vendor-list-of-iab/admin/tpl/admin.php on line 3
- > PHP Notice
Trying to get property 'tabs' of non-object in wp-content/plugins/vendor-list-of-iab/admin/tpl/admin.php on line 31
- > PHP Notice
Undefined variable: settings_object in wp-content/plugins/vendor-list-of-iab/admin/tpl/admin.php on line 3
- > PHP Notice
Trying to get property 'settings_page_configs' of non-object in wp-content/plugins/vendor-list-of-iab/admin/tpl/admin.php on line 3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Contributors: The plugin contributors field is not present
vendor-list-of-iab/iab-vendor-list-nsc_ivl.php 85% from 13 tests
The main PHP script in "Vendor List based on IAB - wordpress plugin" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("vendor-list-of-iab.php" instead of "iab-vendor-list-nsc_ivl.php")
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
No dangerous file extensions were detected1,039 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 95 | 28 | 815 |
JSON | 1 | 0 | 0 | 224 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 9.38 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 62.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 38.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
No PNG images were found in this plugin