Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/daknetcorp-auto-tag-category/daknetcorp-auto-tag-category-admin.php+3
Use of undefined constant DAKNETCORP_FILTERED_POST - assumed 'DAKNETCORP_FILTERED_POST' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.68MB] [CPU: ▼60.08ms] Passed 4 tests
Server-side resources used by Daknetcorp Auto Tag Category
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.31 ▼1.15 | 5.31 ▼43.84 |
Dashboard /wp-admin | 2.33 ▼0.97 | 6.82 ▼49.72 |
Posts /wp-admin/edit.php | 2.33 ▼1.03 | 7.79 ▼41.54 |
Add New Post /wp-admin/post-new.php | 2.33 ▼3.56 | 6.34 ▼105.21 |
Media Library /wp-admin/upload.php | 2.33 ▼0.90 | 5.40 ▼32.39 |
Server storage [IO: ▲0.18MB] [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, 7 new options
New WordPress options |
---|
can_compress_scripts |
daknetcorp_auto_tag_category_time_setting |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Daknetcorp Auto Tag Category
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲100 | 13.46 ▼0.70 | 1.80 ▼0.35 | 46.23 ▲4.18 |
Dashboard /wp-admin | 2,237 ▲49 | 5.18 ▼0.69 | 109.47 ▼19.37 | 107.64 ▲57.67 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.36 ▲0.32 | 51.30 ▲8.63 | 38.06 ▲0.67 |
Add New Post /wp-admin/post-new.php | 1,712 ▲179 | 22.31 ▼0.77 | 738.81 ▲92.91 | 44.52 ▼15.61 |
Media Library /wp-admin/upload.php | 1,428 ▲40 | 4.55 ▲0.35 | 107.09 ▼0.33 | 81.77 ▲34.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/daknetcorp-auto-tag-category/daknetcorp-auto-tag-category-admin.php+3
Use of undefined constant DAKNETCORP_FILTERED_POST - assumed 'DAKNETCORP_FILTERED_POST' (this will throw an Error in a future version of PHP)
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant DAKNETCORP_FILTERED_POST - assumed 'DAKNETCORP_FILTERED_POST' (this will throw an Error in a future version of PHP) in wp-content/plugins/daknetcorp-auto-tag-category/daknetcorp-auto-tag-category-admin.php on line 3
- > PHP Warning
Use of undefined constant DAKNETCORP_AUTO_TAG_CATEGORY_SETTING - assumed 'DAKNETCORP_AUTO_TAG_CATEGORY_SETTING' (this will throw an Error in a future version of PHP) in wp-content/plugins/daknetcorp-auto-tag-category/daknetcorp-auto-tag-category-admin.php on line 5
- > PHP Warning
Use of undefined constant DAKNETCORP_FILTERED_TAG - assumed 'DAKNETCORP_FILTERED_TAG' (this will throw an Error in a future version of PHP) in wp-content/plugins/daknetcorp-auto-tag-category/daknetcorp-auto-tag-category-admin.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/daknetcorp-auto-tag-category/daknetcorp-auto-tag-category-admin.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/daknetcorp-auto-tag-category/daknetcorp-auto-tag-category-admin.php:7
- > PHP Warning
Use of undefined constant DAKNETCORP_AUTO_TAG_CATEGORY_SETTING - assumed 'DAKNETCORP_AUTO_TAG_CATEGORY_SETTING' (this will throw an Error in a future version of PHP) in wp-content/plugins/daknetcorp-auto-tag-category/daknetcorp-auto-tag-category-admin.php on line 5
- > PHP Warning
Use of undefined constant DAKNETCORP_FILTERED_TAG - assumed 'DAKNETCORP_FILTERED_TAG' (this will throw an Error in a future version of PHP) in wp-content/plugins/daknetcorp-auto-tag-category/daknetcorp-auto-tag-category-admin.php on line 4
- > PHP Warning
Use of undefined constant DAKNETCORP_FILTERED_POST - assumed 'DAKNETCORP_FILTERED_POST' (this will throw an Error in a future version of PHP) in wp-content/plugins/daknetcorp-auto-tag-category/daknetcorp-auto-tag-category-admin.php on line 3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: auto category, categories, filter, auto tag, tag
daknetcorp-auto-tag-category/daknetcorp-auto-tag-category.php Passed 13 tests
The principal PHP file in "Daknetcorp Auto Tag Category" v. 1.1 is loaded by WordPress automatically on each request
28 characters long description:
Daknetcorp Auto Tag Category
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
Success! There were no dangerous files found in this plugin4,261 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 230 | 75 | 2,441 |
PHP | 2 | 166 | 77 | 1,278 |
JavaScript | 4 | 87 | 63 | 519 |
SVG | 1 | 0 | 0 | 23 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
5 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/remove.png | 2.85KB | 0.18KB | ▼ 93.83% |
images/edit.png | 3.21KB | 0.54KB | ▼ 83.06% |
images/add.png | 0.75KB | 0.78KB | 0.00% |
images/icona.png | 3.70KB | 1.21KB | ▼ 67.37% |
images/icon-daknetcorp.png | 1.84KB | 1.28KB | ▼ 30.43% |