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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▼4.02ms] Passed 4 tests
Server-side resources used by AT Internet SmartTag
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 45.49 ▲3.28 |
Dashboard /wp-admin | 3.59 ▲0.24 | 49.08 ▼19.79 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 51.50 ▲4.01 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 95.48 ▼3.56 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 39.76 ▲4.44 |
AT Internet /wp-admin/options-general.php?page=atinternet_smarttag_settings | 3.42 | 34.84 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
atinternet_smarttag_version |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for AT Internet SmartTag
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲95 | 13.42 ▼0.95 | 17.16 ▲15.05 | 41.69 ▼1.41 |
Dashboard /wp-admin | 2,214 ▲26 | 4.89 ▼0.96 | 110.13 ▲6.28 | 41.73 ▼0.20 |
Posts /wp-admin/edit.php | 2,100 ▲14 | 2.03 ▼0.09 | 40.36 ▲3.58 | 34.44 ▼1.63 |
Add New Post /wp-admin/post-new.php | 6,220 ▲4,701 | 26.25 ▲3.05 | 838.35 ▲173.44 | 56.13 ▼9.95 |
Media Library /wp-admin/upload.php | 1,393 ▲8 | 4.22 ▼0.03 | 98.76 ▼3.47 | 43.19 ▲1.34 |
AT Internet /wp-admin/options-general.php?page=atinternet_smarttag_settings | 1,116 | 3.23 | 51.40 | 28.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- atinternet_smarttag_version
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=atinternet_smarttag_settings
- > Notice in wp-content/plugins/at-internet/includes/lib/class-atinternet-smarttag-admin-api.php+187
Undefined index: description
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: analytics, at internet, tracking
at-internet/atinternet-smarttag.php 85% from 13 tests
"AT Internet SmartTag" version 0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("at-internet.php" instead of "atinternet-smarttag.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 plugin1,040 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 275 | 631 | 884 |
PO File | 1 | 42 | 48 | 102 |
JavaScript | 4 | 16 | 6 | 54 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 2 | 3.23% |
▷ Public methods | 53 | 85.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 14.52% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin