Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.76ms] Passed 4 tests
An overview of server-side resources used by TMA-Signature
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 48.38 ▲11.19 |
Dashboard /wp-admin | 3.35 ▲0.04 | 48.97 ▲2.15 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 44.08 ▼0.16 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 79.65 ▼5.46 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.60 ▲0.42 |
TMA Signature /wp-admin/options-general.php?page=my-setting-admin | 3.24 | 31.71 |
Server storage [IO: ▲0.99MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 162 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for TMA-Signature
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲115 | 14.26 ▼0.09 | 1.70 ▲0.06 | 44.95 ▲4.35 |
Dashboard /wp-admin | 2,282 ▲101 | 5.82 ▲0.11 | 96.69 ▼0.09 | 39.62 ▼4.26 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 2.91 ▲0.78 | 40.58 ▲3.84 | 32.59 ▼1.67 |
Add New Post /wp-admin/post-new.php | 1,721 ▲195 | 24.13 ▲1.07 | 674.99 ▼14.71 | 54.97 ▼0.63 |
Media Library /wp-admin/upload.php | 1,484 ▲90 | 5.34 ▲1.15 | 99.06 ▼7.45 | 41.74 ▼3.20 |
TMA Signature /wp-admin/options-general.php?page=my-setting-admin | 905 | 3.27 | 62.30 | 43.51 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/tma-signature/user.settings.php:78
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/tma-signature/settings.php:168
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/tma-signature/settings.php:168
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: analytics, behaviour targets, woocommerce, product targeting, tracking
tma-signature/tma-signature.php Passed 13 tests
The entry point to "TMA-Signature" version 1.0.0 is a PHP file that has certain tags in its header comment area
33 characters long description:
Adds a signature under every post
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected373 lines of code in 161 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 35 | 50 | 203 |
JavaScript | 158 | 1 | 0 | 170 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin