Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.80ms] Passed 4 tests
Analyzing server-side resources used by GA Admin Taxonomy Search
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.51 ▼0.09 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.01 ▼1.39 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.49 ▲5.48 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 92.18 ▼7.89 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.91 ▲2.18 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for GA Admin Taxonomy Search
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.26 ▼1.04 | 6.10 ▲4.23 | 42.06 ▲2.32 |
Dashboard /wp-admin | 2,206 ▲18 | 4.83 ▼0.04 | 102.33 ▼11.13 | 39.46 ▼4.75 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▼0.05 | 36.64 ▲2.22 | 34.24 ▲1.00 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 23.44 ▲5.97 | 693.20 ▲5.41 | 47.42 ▼8.70 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.06 | 94.74 ▼13.03 | 41.03 ▼3.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/ga-admin-taxonomy-search/ga-admin-taxonomy-search.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: You are using too many tags: 20 tag instead of maximum 10
ga-admin-taxonomy-search/ga-admin-taxonomy-search.php 77% from 13 tests
The principal PHP file in "GA Admin Taxonomy Search" v. 0.0.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.5.0" instead of "3.6")
- Requires PHP: The required version number must match the one declared in readme.txt ("5.6" instead of "5.2")
- Description: Please don't use more than 140 characters for the plugin description (currently 189 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin223 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 19 | 2 | 94 |
PHP | 4 | 38 | 34 | 73 |
Markdown | 1 | 19 | 0 | 32 |
CSS | 1 | 2 | 0 | 24 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 10 | 100.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 20.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
No PNG files were detected