Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▲3.47ms] Passed 4 tests
Server-side resources used by TNC Toolbox
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 48.82 ▲7.60 |
Dashboard /wp-admin | 3.42 ▲0.12 | 48.76 ▼3.00 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 54.92 ▲10.74 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 98.55 ▲3.35 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 39.62 ▲5.94 |
TNC Toolbox /wp-admin/options-general.php?page=tnc_toolbox | 3.28 | 32.69 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by TNC Toolbox
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲131 | 13.25 ▼0.97 | 1.75 ▼0.32 | 46.46 ▼3.42 |
Dashboard /wp-admin | 2,236 ▲45 | 5.84 ▲0.98 | 96.76 ▼6.88 | 74.15 ▲33.16 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 1.99 ▼0.01 | 38.88 ▼1.38 | 35.86 ▲2.47 |
Add New Post /wp-admin/post-new.php | 1,534 ▲15 | 23.22 ▲0.10 | 722.42 ▲41.72 | 54.66 ▼5.56 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.21 ▲0.01 | 96.76 ▼9.69 | 74.03 ▲28.79 |
TNC Toolbox /wp-admin/options-general.php?page=tnc_toolbox | 866 | 2.05 | 25.35 | 31.69 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=tnc_toolbox
- > Warning in wp-content/plugins/tnc-toolbox/core/includes/classes/class-tnc-wp-toolbox-settings.php+199
file_get_contents(wp-content/tnc-toolbox-config/cpanel-api-key): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=tnc_toolbox
- > Warning in wp-content/plugins/tnc-toolbox/core/includes/classes/class-tnc-wp-toolbox-settings.php+203
file_get_contents(wp-content/tnc-toolbox-config/cpanel-username): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=tnc_toolbox
- > Warning in wp-content/plugins/tnc-toolbox/core/includes/classes/class-tnc-wp-toolbox-settings.php+207
file_get_contents(wp-content/tnc-toolbox-config/server-hostname): failed to open stream: No such file or directory
SRP Passed 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
The SRP test was a success
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)
There were no browser issues found
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 63% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Contributors: The plugin contributors field is missing
- Requires at least: Invalid plugin version format
- Requires php: Invalid plugin version format
- Tags: Please add at least on tag
- Donate link: Invalid URI found ("")
- Contributors: Please add at least on tag
tnc-toolbox/tnc-wp-toolbox.php 92% from 13 tests
The primary PHP file in "TNC Toolbox" version 1.3.4 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("tnc-toolbox.php" instead of "tnc-wp-toolbox.php")
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
There were no executable files found in this plugin423 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 81 | 436 | 423 |
PHP code Passed 2 tests
An short overview of 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.21 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 30 | |
▷ Static methods | 1 | 3.33% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/tnc-icon.png | 7.56KB | 3.44KB | ▼ 54.51% |