Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- This plugin did not install gracefully
- > Warning in wp-includes/class-wpdb.php+2035
mysqli_real_connect(): (HY000/1045): Access denied for user ''@'localhost' (using password: NO)
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.44ms] Passed 4 tests
Analyzing server-side resources used by IP.Board Search
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.48 ▲1.54 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.80 ▼2.26 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.75 ▼4.87 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.42 ▼16.17 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.31 ▲2.07 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
IP.Board Search: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲14 | 13.19 ▼1.48 | 1.96 ▲0.09 | 40.97 ▼3.64 |
Dashboard /wp-admin | 2,203 ▼0 | 5.83 ▲0.03 | 97.51 ▲2.19 | 38.29 ▼1.06 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.03 | 33.15 ▼1.04 | 35.65 ▼0.33 |
Add New Post /wp-admin/post-new.php | 1,533 ▼8 | 23.30 ▲0.17 | 637.84 ▲31.66 | 56.74 ▼3.22 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▲0.01 | 96.19 ▼7.49 | 43.38 ▼5.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
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)
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/search-for-ipboard/ipboard-search.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/search-for-ipboard/settings.php:22
- > PHP Notice
Undefined variable: fields in wp-content/plugins/search-for-ipboard/helpers/fields.php on line 12
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/search-for-ipboard/helpers/fields.php on line 12
- > 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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: forum bridge, search, ipboard, forum, custom search...
search-for-ipboard/ipboard-search.php 85% from 13 tests
Analyzing the main PHP file in "IP.Board Search" version 1.0.0
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("search-for-ipboard.php" instead of "ipboard-search.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin468 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 102 | 39 | 359 |
PO File | 1 | 24 | 0 | 62 |
CSS | 1 | 8 | 0 | 47 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 50.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 4.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin