Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.00ms] Passed 4 tests
This is a short check of server-side resources used by TagBot
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.08 ▼2.82 |
Dashboard /wp-admin | 3.37 ▲0.02 | 48.11 ▼8.34 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.40 ▲2.45 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 743.16 ▲648.08 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.20 ▲0.72 |
Keyphrases /wp-admin/edit-tags.php?taxonomy=keyphrases | 3.28 | 36.86 |
Server storage [IO: ▲1.31MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for TagBot
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,143 ▲397 | 14.43 ▲0.04 | 11.61 ▲9.97 | 43.42 ▲4.81 |
Dashboard /wp-admin | 2,407 ▲215 | 5.19 ▲0.23 | 108.94 ▼1.47 | 40.02 ▼4.83 |
Posts /wp-admin/edit.php | 2,295 ▲206 | 2.31 ▲0.31 | 41.12 ▲4.88 | 29.79 ▼8.39 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 23.66 ▲0.77 | 644.20 ▼9.22 | 53.97 ▲5.65 |
Media Library /wp-admin/upload.php | 1,627 ▲239 | 4.44 ▲0.32 | 99.92 ▲1.49 | 41.35 ▼1.99 |
Keyphrases /wp-admin/edit-tags.php?taxonomy=keyphrases | 1,402 | 2.03 | 39.47 | 30.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: artificial intelligence, auto tagging, ai, keyphrase extraction
tagbot/tagbot.php Passed 13 tests
Analyzing the main PHP file in "TagBot" version 1.0.0
110 characters long description:
Automatically tag posts with keyphrases extracted from the content of the posts using artificial intelligence.
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
There were no executable files found in this plugin11,979 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 2 | 1,838 | 9,026 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 6 | 53 | 60 | 279 |
JavaScript | 2 | 0 | 2 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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 are no PNG files in this plugin