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.60MB] [CPU: ▼14.49ms] Passed 4 tests
Server-side resources used by TGG WP Optimizer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.08 ▼7.30 |
Dashboard /wp-admin | 3.34 ▼0.01 | 51.03 ▼20.19 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 54.34 ▲3.00 |
Add New Post /wp-admin/post-new.php | 3.42 ▼2.47 | 70.08 ▼33.47 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 43.95 ▲8.51 |
WP Optimizer /wp-admin/options-general.php?page=wpotgg | 3.23 | 34.21 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 32 new options
New WordPress options |
---|
can_compress_scripts |
wpotgg_autosave |
wpotgg_redirect |
wpotgg_duotone |
widget_recent-posts |
wpotgg_rsdlink |
wpotgg_categorysitemap |
wpotgg_authorsitemap |
wpotgg_wpgen |
wpotgg_prefetch |
... |
Browser metrics Passed 4 tests
A check of browser resources used by TGG WP Optimizer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,762 ▲1 | 14.05 ▼0.33 | 1.50 ▼0.42 | 44.21 ▼8.70 |
Dashboard /wp-admin | 2,194 ▲17 | 5.56 ▼0.02 | 96.68 ▲6.31 | 38.16 ▼0.94 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.03 ▲0.00 | 39.32 ▼0.22 | 35.16 ▼3.23 |
Add New Post /wp-admin/post-new.php | 3,106 ▲1,578 | 7.67 ▼15.35 | 193.40 ▼433.76 | 72.66 ▲13.96 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.22 ▲0.03 | 111.46 ▲3.57 | 48.15 ▲1.50 |
WP Optimizer /wp-admin/options-general.php?page=wpotgg | 1,236 | 2.03 | 26.94 | 30.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 32 options in the database
- wpotgg_excerptmore
- can_compress_scripts
- wpotgg_oembed
- wpotgg_wpgen
- widget_recent-comments
- wpotgg_wlwlink
- widget_theysaidso_widget
- wpotgg_emailverification
- wpotgg_categorysitemap
- wpotgg_classicwidgets
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/tgg-wp-optimizer/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: auto save, trash, excerpt length, tweaks, image caption...
tgg-wp-optimizer/index.php 85% from 13 tests
"TGG WP Optimizer" version 1.21's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("tgg-wp-optimizer.php" instead of "index.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 168 characters long)
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
There were no executable files found in this plugin371 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 49 | 48 | 371 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 17 | |
▷ Named functions | 17 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin