Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼6.87ms] Passed 4 tests
An overview of server-side resources used by WP TinyMCE Tables
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.37 ▼6.03 |
Dashboard /wp-admin | 3.31 ▼0.03 | 49.56 ▼13.77 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 53.33 ▼2.29 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 94.22 ▼5.39 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.28 ▼0.06 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP TinyMCE Tables
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.73 ▲0.30 | 1.65 ▼0.16 | 43.92 ▲4.00 |
Dashboard /wp-admin | 2,206 ▲21 | 5.82 ▼0.04 | 100.83 ▼3.64 | 38.10 ▼7.73 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▲0.01 | 40.62 ▲0.44 | 34.06 ▼4.60 |
Add New Post /wp-admin/post-new.php | 1,542 ▼2 | 18.18 ▲0.08 | 614.86 ▼15.46 | 55.16 ▲1.77 |
Media Library /wp-admin/upload.php | 1,391 ▲12 | 4.15 ▼0.09 | 94.73 ▼7.93 | 46.36 ▼2.55 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-tinymce-tables/wp-tinymce-tables.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: tinymce, tables, wysiwyg, editor
wp-tinymce-tables/wp-tinymce-tables.php Passed 13 tests
The primary PHP file in "WP TinyMCE Tables" version 1.0 is used by WordPress to initiate all plugin functionality
50 characters long description:
Add Table controls to the WordPress TinyMCE editor
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin2,453 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 513 | 169 | 1,857 |
HTML | 4 | 48 | 0 | 510 |
CSS | 3 | 13 | 3 | 39 |
Markdown | 1 | 15 | 0 | 34 |
PHP | 1 | 4 | 36 | 13 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
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 | 2 | |
▷ Named functions | 2 | 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
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