Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.86MB] [CPU: ▼32.50ms] Passed 4 tests
A check of server-side resources used by Simple Tracking
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 31.43 ▼9.56 |
Dashboard /wp-admin | 3.08 ▼0.22 | 26.30 ▼24.36 |
Posts /wp-admin/edit.php | 3.09 ▼0.27 | 27.49 ▼20.60 |
Add New Post /wp-admin/post-new.php | 3.09 ▼2.80 | 23.84 ▼72.68 |
Media Library /wp-admin/upload.php | 3.09 ▼0.14 | 24.57 ▼12.34 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Simple Tracking: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲65 | 14.25 ▼0.10 | 1.91 ▲0.25 | 44.41 ▼0.48 |
Dashboard /wp-admin | 2,232 ▲58 | 5.63 ▼0.03 | 95.42 ▲5.35 | 46.95 ▲3.20 |
Posts /wp-admin/edit.php | 2,137 ▲40 | 2.02 ▲0.06 | 40.06 ▲4.35 | 36.57 ▲2.93 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.05 ▼0.39 | 597.61 ▼75.11 | 59.85 ▲6.08 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.28 ▲0.14 | 105.47 ▲3.27 | 45.78 ▼0.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/simple-theme-options/chrs-simple-options.php+92
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/simple-theme-options/chrs-simple-options.php
- > /wp-content/plugins/simple-theme-options/instructions.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/simple-theme-options/shortcodes.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function submit_button() in wp-content/plugins/simple-theme-options/input-global.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% 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
These attributes need your attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
- Screenshots: Add an image for screenshot #1 (screenshot-1.png)
simple-theme-options/chrs-simple-options.php 77% from 13 tests
The main file in "Simple Tracking" v. 1.7.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 155 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("simple-theme-options.php" instead of "chrs-simple-options.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin642 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 52 | 27 | 572 |
SVG | 3 | 0 | 3 | 36 |
CSS | 1 | 5 | 0 | 34 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.18MB with 0.12MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 189.07KB | 70.84KB | ▼ 62.53% |