Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.28ms] Passed 4 tests
An overview of server-side resources used by Tomi Page Tagging
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.34 ▼7.10 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.55 ▼6.05 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 54.90 ▼1.04 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 98.88 ▼14.91 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.74 ▲0.04 |
Tomi Page Tagging Settings /wp-admin/options-general.php?page=tomi_page_tagging_options | 3.22 | 34.78 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=page | 3.25 | 38.45 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
tomi_page_tagging_options |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tomi Page Tagging
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲11 | 14.25 ▼0.36 | 1.56 ▼0.47 | 42.62 ▼5.87 |
Dashboard /wp-admin | 2,203 ▲23 | 5.57 ▼0.11 | 89.20 ▲1.80 | 40.64 ▲1.78 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 1.98 ▼0.16 | 38.81 ▲2.58 | 35.16 ▲0.31 |
Add New Post /wp-admin/post-new.php | 1,532 ▼3 | 23.75 ▲5.43 | 669.08 ▲19.63 | 53.67 ▼22.40 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.16 ▼0.02 | 99.44 ▼2.74 | 45.11 ▼1.74 |
Tomi Page Tagging Settings /wp-admin/options-general.php?page=tomi_page_tagging_options | 837 | 1.99 | 22.19 | 26.17 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=page | 1,324 | 2.12 | 28.91 | 32.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/tomi-page-tagging/tomi-page-tags.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: pages, tags, page tags
tomi-page-tagging/tomi-page-tags.php 92% from 13 tests
"Tomi Page Tagging" version 0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("tomi-page-tagging.php" instead of "tomi-page-tags.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin79 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 31 | 19 | 79 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected