Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼1.59MB] [CPU: ▼49.33ms] Passed 4 tests
This is a short check of server-side resources used by Modern Editor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.40 ▼1.06 | 10.20 ▼33.75 |
Dashboard /wp-admin | 2.41 ▼0.89 | 11.44 ▼34.83 |
Posts /wp-admin/edit.php | 2.41 ▼0.94 | 10.94 ▼34.92 |
Add New Post /wp-admin/post-new.php | 2.41 ▼3.47 | 10.59 ▼93.83 |
Media Library /wp-admin/upload.php | 2.41 ▼0.81 | 10.97 ▼22.80 |
Modern Editor /wp-admin/options-general.php?page=modern_editor | 2.42 | 12.82 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Modern Editor: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.21 ▼1.08 | 1.71 ▲0.05 | 44.23 ▲3.79 |
Dashboard /wp-admin | 2,210 ▲18 | 5.83 ▲0.91 | 104.37 ▼3.83 | 42.17 ▼1.51 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.00 ▼0.06 | 33.90 ▼1.78 | 37.32 ▲5.24 |
Add New Post /wp-admin/post-new.php | 1,531 ▲1 | 23.38 ▲5.24 | 673.45 ▲70.65 | 54.16 ▲2.83 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.16 ▼0.01 | 93.67 ▼0.89 | 42.98 ▼0.03 |
Modern Editor /wp-admin/options-general.php?page=modern_editor | 790 | 2.18 | 24.28 | 25.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/modern-editor/mui.php+24
Trying to access array offset on value of type null
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=modern_editor
- > Notice in wp-content/plugins/modern-editor/mui.php+24
Trying to access array offset on value of type null
SRP 50% 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 fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/modern-editor/mui.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (https://www.typop.net/moe/save.png), #2 (https://www.typop.net/moe/inspector.png), #3 (https://www.typop.net/moe/scroll.png)
modern-editor/mui.php 92% from 13 tests
The main file in "Modern Editor" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("modern-editor.php" instead of "mui.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected668 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 71 | 44 | 355 |
JavaScript | 1 | 26 | 12 | 177 |
PHP | 1 | 40 | 26 | 136 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
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 | 6 | |
▷ Named functions | 6 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected