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.06MB] [CPU: ▼6.84ms] Passed 4 tests
Analyzing server-side resources used by Advanced Tag Rule
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 35.57 ▼6.45 |
Dashboard /wp-admin | 3.37 ▲0.06 | 51.08 ▼1.00 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 53.12 ▼2.71 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 85.15 ▼17.18 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 38.45 ▼0.98 |
Tag Rules /wp-admin/options-general.php?page=atr-page | 3.26 | 32.47 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Tag Rule
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.34 ▲0.05 | 2.02 ▲0.17 | 42.94 ▲0.35 |
Dashboard /wp-admin | 2,200 ▲26 | 5.61 ▼0.07 | 89.22 ▼0.17 | 39.03 ▼6.02 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 2.02 ▲0.04 | 37.33 ▼3.81 | 35.67 ▼0.60 |
Add New Post /wp-admin/post-new.php | 1,533 ▼11 | 22.99 ▲4.67 | 642.81 ▲6.99 | 60.82 ▲15.17 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.21 ▼0.04 | 103.72 ▼3.61 | 44.95 ▼0.35 |
Tag Rules /wp-admin/options-general.php?page=atr-page | 786 | 2.03 | 24.09 | 25.89 |
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 did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Add rule for tag), #2 (Manage rules: add, edit, remove and save.)
advanced-tag-rule/atr-plugin.php 85% from 13 tests
The main file in "Advanced Tag Rule" v. 1.1.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("advanced-tag-rule.php" instead of "atr-plugin.php")
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin400 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 64 | 74 | 287 |
PO File | 2 | 30 | 58 | 98 |
JavaScript | 1 | 5 | 5 | 12 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of 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.49 |
Average class complexity | 53.00 |
▷ Minimum class complexity | 53.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 4.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 11 | 78.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 21.43% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG files were detected