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 gracefully, with no errors
Server metrics [RAM: ▲0.39MB] [CPU: ▲2.08ms] Passed 4 tests
Server-side resources used by Tansa
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.95 ▼12.23 |
Dashboard /wp-admin | 3.82 ▲0.52 | 52.81 ▲5.32 |
Posts /wp-admin/edit.php | 3.88 ▲0.52 | 50.71 ▲3.81 |
Add New Post /wp-admin/post-new.php | 7.91 ▲2.03 | 112.85 ▲14.64 |
Media Library /wp-admin/upload.php | 3.75 ▲0.52 | 45.50 ▲11.40 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tansa
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲86 | 14.80 ▲0.59 | 1.78 ▼0.37 | 42.06 ▼3.35 |
Dashboard /wp-admin | 2,224 ▲36 | 5.02 ▲0.15 | 97.67 ▼0.64 | 69.89 ▲24.02 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.13 ▲0.10 | 32.43 ▼0.99 | 32.25 ▼0.78 |
Add New Post /wp-admin/post-new.php | 1,554 ▲21 | 25.50 ▲2.29 | 644.67 ▼50.15 | 33.91 ▼19.73 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.36 ▲0.16 | 96.76 ▼11.85 | 75.57 ▲30.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/tansa/tansa.php:245
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/tansa/settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% 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: Plugin contributors not specified
- Screenshots: Add a description for screenshot #8 in tansa/assets to your readme.txt
- Tags: There are too many tags (12 tag instead of maximum 10)
tansa/tansa.php 92% from 13 tests
"Tansa" version 5.0.1.18's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 290 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin7,747 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 1 | 9 | 424 | 6,839 |
JavaScript | 3 | 215 | 142 | 588 |
PHP | 2 | 53 | 50 | 315 |
CSS | 2 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
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 | 16 | |
▷ Named functions | 16 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/img/TS.png | 0.23KB | 0.17KB | ▼ 27.97% |