Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.95ms] Passed 4 tests
A check of server-side resources used by Context Term Tidier
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 39.55 ▼2.24 |
Dashboard /wp-admin | 3.39 ▲0.04 | 44.10 ▼13.96 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.06 ▲4.19 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 80.66 ▼16.08 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.54 ▲0.49 |
Context Term Tidier /wp-admin/options-general.php?page=magic-terms-settings | 3.26 | 29.12 |
Context Term Tidier /wp-admin/tools.php?page=magic-terms | 3.26 | 30.11 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Context Term Tidier
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲51 | 14.17 ▼0.36 | 1.66 ▲0.06 | 43.98 ▲3.33 |
Dashboard /wp-admin | 2,203 ▲26 | 5.57 ▼0.14 | 91.44 ▲4.76 | 37.30 ▼1.67 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 2.00 ▲0.00 | 35.69 ▲0.38 | 32.02 ▼1.48 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 22.90 ▼0.71 | 667.94 ▼0.40 | 72.94 ▲18.67 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.13 ▼0.06 | 109.75 ▲12.89 | 46.13 ▼0.27 |
Context Term Tidier /wp-admin/options-general.php?page=magic-terms-settings | 1,348 | 1.99 | 25.85 | 27.67 |
Context Term Tidier /wp-admin/tools.php?page=magic-terms | 857 | 1.82 | 26.91 | 26.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 73 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=magic-terms
- > Notice in wp-content/plugins/context-term-tidier/cxt-term-tidier.php+558
Trying to access array offset on value of type bool
- 8 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=magic-terms-settings
- > Notice in wp-content/plugins/context-term-tidier/cxt-term-tidier.php+404
Undefined variable: taxonomy
- 3 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=magic-terms
- > Notice in wp-content/plugins/context-term-tidier/cxt-term-tidier.php+611
Trying to get property 'labels' of non-object
- 3 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=magic-terms
- > Notice in wp-content/plugins/context-term-tidier/cxt-term-tidier.php+611
Trying to get property 'singular_name' of non-object
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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/context-term-tidier/cxt-term-tidier.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: taxonomies, terms, tags
context-term-tidier/cxt-term-tidier.php 92% from 13 tests
The main file in "Context Term Tidier" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("context-term-tidier.php" instead of "cxt-term-tidier.php")
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
Everything looks great! No dangerous files found in this plugin540 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 270 | 206 | 522 |
JavaScript | 1 | 5 | 2 | 18 |
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.17 |
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 | 21 | |
▷ Named functions | 21 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin