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: ▼2.12ms] Passed 4 tests
Server-side resources used by Language Taxonomy
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.67 ▼1.65 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.84 ▼3.79 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.85 ▼1.67 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.63 ▲3.19 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.92 ▼1.38 |
Languages /wp-admin/edit-tags.php?taxonomy=language | 3.24 | 35.08 |
Languages /wp-admin/edit-tags.php?taxonomy=language&post_type=page | 3.24 | 33.28 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Language Taxonomy
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.22 ▼1.08 | 1.84 ▲0.07 | 43.11 ▼0.52 |
Dashboard /wp-admin | 2,217 ▲32 | 4.83 ▼1.07 | 98.75 ▼4.60 | 37.72 ▼2.54 |
Posts /wp-admin/edit.php | 2,129 ▲37 | 2.00 ▲0.02 | 40.34 ▲3.39 | 35.28 ▲3.33 |
Add New Post /wp-admin/post-new.php | 1,525 ▲11 | 23.07 ▲5.58 | 597.22 ▼49.87 | 55.25 ▲0.99 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.28 ▲0.03 | 95.39 ▼8.37 | 41.71 ▼5.96 |
Languages /wp-admin/edit-tags.php?taxonomy=language | 1,239 | 2.13 | 27.64 | 29.29 |
Languages /wp-admin/edit-tags.php?taxonomy=language&post_type=page | 1,242 | 2.13 | 27.03 | 29.94 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/language-taxonomy/language-taxonomy.php:43
- > 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 issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: language, taxonomy
language-taxonomy/language-taxonomy.php Passed 13 tests
The main PHP script in "Language Taxonomy" version 0.2.3 is automatically included on every request by WordPress
57 characters long description:
Adds a language taxonomy to posts, pages and other items.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin35 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 6 | 9 | 35 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin