Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.17ms] Passed 4 tests
Analyzing server-side resources used by Simple Taxonomy WYSIWYG
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.16 ▲2.29 |
Dashboard /wp-admin | 3.32 ▲0.02 | 42.87 ▼0.03 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 43.63 ▼0.15 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 77.83 ▼17.86 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.16 ▼2.65 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Taxonomy WYSIWYG
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.34 ▼0.10 | 1.77 ▲0.19 | 48.84 ▲7.92 |
Dashboard /wp-admin | 2,192 ▲11 | 5.51 ▼0.16 | 80.74 ▼15.63 | 38.01 ▼8.44 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.04 | 35.36 ▼3.33 | 32.57 ▼4.82 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.03 ▲0.15 | 662.63 ▲15.70 | 62.55 ▲11.04 |
Media Library /wp-admin/upload.php | 1,391 ▼12 | 4.27 ▲0.15 | 95.21 ▼19.39 | 41.02 ▼7.75 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
include(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/simple-taxonomy-wysiwyg/simple-taxonomy-wysiwyg.php on line 15
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/simple-taxonomy-wysiwyg/simple-taxonomy-wysiwyg.php on line 15
- > PHP Warning
include(): Failed opening 'ABSPATHwp-includes/pluggable.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/simple-taxonomy-wysiwyg/simple-taxonomy-wysiwyg.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-taxonomy-wysiwyg/simple-taxonomy-wysiwyg.php:28
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== simple-taxonomy-wysiwyg ===
)
simple-taxonomy-wysiwyg/simple-taxonomy-wysiwyg.php Passed 13 tests
This is the main PHP file of "Simple Taxonomy WYSIWYG" version 1.3.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
129 characters long description:
This is a very simple and lightweight plugin that will convert the taxonomy/category description textarea to a WYSIWYG (TinyMCE).
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin82 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 13 | 58 |
JavaScript | 1 | 4 | 0 | 24 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.50 |
▷ 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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 16.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin