Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.96ms] Passed 4 tests
Analyzing server-side resources used by Comment Form Editor with TinyMCE
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 34.22 ▼4.54 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.25 ▼1.08 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.81 ▼2.13 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 78.68 ▼19.05 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.47 ▼2.10 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Comment Form Editor with TinyMCE
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲130 | 13.72 ▼0.56 | 8.11 ▲6.46 | 37.33 ▼5.01 |
Dashboard /wp-admin | 2,199 ▲22 | 5.57 ▼0.10 | 93.36 ▲2.15 | 36.76 ▼6.50 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.01 | 36.78 ▼1.63 | 33.48 ▼2.36 |
Add New Post /wp-admin/post-new.php | 1,530 ▼5 | 23.47 ▼1.69 | 636.62 ▲14.65 | 51.29 ▼11.72 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.20 ▼0.03 | 101.47 ▲5.09 | 41.28 ▼0.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/comments-tinymce/admin/partials/comments-tinymce-admin-display.php
- > /wp-content/plugins/comments-tinymce/public/partials/comments-tinymce-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Requires at least: The plugin version is formatted incorrectly
- Requires php: The plugin version is formatted incorrectly
- Screenshots: A description for screenshot #1 is required in comments-tinymce/assets to your readme.txt
comments-tinymce/comments-tinymce.php Passed 13 tests
The principal PHP file in "Comment Form Editor with TinyMCE" v. 1.0.3 is loaded by WordPress automatically on each request
70 characters long description:
Users can easily add TinyMCE Editor in Comment Form in just one click.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin274 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 115 | 513 | 215 |
JavaScript | 2 | 3 | 31 | 59 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 2 | 8.00% |
▷ Public methods | 20 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG files were detected