Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.79ms] Passed 4 tests
Analyzing server-side resources used by Theme Grep by BoldGrid
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 36.37 ▼3.77 |
Dashboard /wp-admin | 3.36 ▲0.01 | 46.43 ▼16.13 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 50.91 ▲1.61 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 91.06 ▼4.59 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 34.34 ▲1.32 |
Theme Grep /wp-admin/tools.php?page=boldgrid-theme-grep | 3.43 | 209.41 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Theme Grep by BoldGrid
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.25 ▼1.33 | 1.58 ▼0.01 | 40.75 ▲0.13 |
Dashboard /wp-admin | 2,210 ▲22 | 5.79 ▼0.07 | 95.13 ▼11.58 | 43.48 ▲0.61 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.03 | 40.23 ▼0.85 | 37.23 ▼0.51 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.58 ▼4.56 | 602.92 ▼96.85 | 51.99 ▼3.24 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▼0.12 | 99.52 ▲3.38 | 43.89 ▼1.88 |
Theme Grep /wp-admin/tools.php?page=boldgrid-theme-grep | 7,265 | 2.49 | 82.96 | 130.20 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/theme-grep-by-boldgrid/admin/partials/boldgrid-theme-grep-admin-display.php:14
- > 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 90% from 29 tests
readme.txt 94% 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:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== theme-grep-by-boldgrid ===
)
theme-grep-by-boldgrid/boldgrid-theme-grep.php 85% from 13 tests
The main PHP script in "Theme Grep by BoldGrid" version 1.0.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- 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 ("theme-grep-by-boldgrid.php" instead of "boldgrid-theme-grep.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin663 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 126 | 1,007 | 309 |
JavaScript | 2 | 35 | 30 | 283 |
CSS | 1 | 13 | 6 | 68 |
Markdown | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 3.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 2 | 8.00% |
▷ Public methods | 21 | 84.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 16.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin