Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.35ms] Passed 4 tests
An overview of server-side resources used by Category Editor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.26 ▼2.08 |
Dashboard /wp-admin | 3.38 ▲0.08 | 48.16 ▼3.71 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 48.93 ▲3.12 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 85.58 ▼5.60 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.54 ▲2.00 |
CategoryTinyMCE /wp-admin/options-general.php?page=catMCE | 3.27 | 33.53 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Category Editor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲72 | 13.59 ▼0.71 | 1.57 ▼0.15 | 41.15 ▼1.41 |
Dashboard /wp-admin | 2,216 ▲30 | 4.87 ▼0.05 | 99.70 ▼20.32 | 39.02 ▼2.49 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.06 ▼0.00 | 34.89 ▼1.38 | 31.88 ▲0.69 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.32 ▲0.02 | 638.45 ▼51.75 | 54.47 ▼0.97 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.19 ▼0.01 | 95.48 ▼6.17 | 40.34 ▼12.01 |
CategoryTinyMCE /wp-admin/options-general.php?page=catMCE | 779 | 2.02 | 24.20 | 25.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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/categorytinymce/categorytinymce.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (A new tinymce enabled category description box is added to the category edit screen.), #2 (The category description box and column are removed form the admin page to keep it looking nice.)
categorytinymce/categorytinymce.php Passed 13 tests
The main PHP script in "Category Editor" version 3.8.3 is automatically included on every request by WordPress
73 characters long description:
Adds a tinymce enable box to the category descriptions and taxonomy page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin428 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 212 | 44 | 428 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin