Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.03ms] Passed 4 tests
A check of server-side resources used by AutoComplete For TinyMCE
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.02 ▼8.52 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.16 ▼1.99 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 50.73 ▲1.23 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.87 ▼12.12 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.02 ▼1.47 |
Autocomplete /wp-admin/options-general.php?page=tinymce_autocomplete | 3.21 | 34.84 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AutoComplete For TinyMCE
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲11 | 15.10 ▲0.70 | 1.58 ▼0.34 | 45.15 ▲2.14 |
Dashboard /wp-admin | 2,200 ▲26 | 5.70 ▲0.13 | 88.38 ▼2.74 | 38.86 ▼2.12 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.81 ▲0.87 | 39.50 ▼1.78 | 35.59 ▼7.60 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.92 ▲0.84 | 681.54 ▼11.37 | 37.48 ▼25.07 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 5.20 ▲0.97 | 101.78 ▼13.23 | 44.35 ▼5.98 |
Autocomplete /wp-admin/options-general.php?page=tinymce_autocomplete | 820 | 2.71 | 25.63 | 31.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/autocomplete-for-tinymce/options_menu.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/autocomplete-for-tinymce/autocomplete-for-tinymce.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: "www.paypal.me/prakhar19"
autocomplete-for-tinymce/autocomplete-for-tinymce.php Passed 13 tests
The principal PHP file in "AutoComplete For TinyMCE" v. 1.0 is loaded by WordPress automatically on each request
50 characters long description:
AutoComplete support for Wordpress TinyMCE Editor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin76 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 22 | 7 | 73 |
JavaScript | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
plugin/image/automatic-flash-symbol.png | 0.79KB | 0.68KB | ▼ 14.23% |