Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.78ms] Passed 4 tests
A check of server-side resources used by Page builder for Posts - Mong9 Editor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.11 ▼6.46 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.00 ▼7.53 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.92 ▲4.52 |
Add New Post /wp-admin/post-new.php | 7.01 ▲1.13 | 114.17 ▲17.16 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.73 ▲2.36 |
Server storage [IO: ▲9.57MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 279 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Page builder for Posts - Mong9 Editor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,028 ▲257 | 13.98 ▼0.82 | 10.60 ▲8.39 | 41.67 ▼0.81 |
Dashboard /wp-admin | 2,206 ▲15 | 4.83 ▼0.04 | 106.54 ▼4.55 | 38.45 ▼5.90 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.01 | 39.65 ▲2.79 | 34.61 ▼3.07 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 24.33 ▲5.83 | 799.91 ▲145.47 | 51.18 ▼6.19 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.19 ▼0.04 | 94.79 ▼14.65 | 45.01 ▼2.28 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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 fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/mong9-editor/includes/filters.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mong9-editor/includes/in-post.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mong9-editor/includes/editor-function.php:90
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/mong9-editor/mong9-editor.php:32
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
mong9-editor/mong9-editor.php 92% from 13 tests
The principal PHP file in "Page builder for Posts - Mong9 Editor" v. 1.1.1 is loaded by WordPress automatically on each request
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 144 characters long)
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
No dangerous file extensions were detected22,768 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 44 | 3,746 | 736 | 14,757 |
CSS | 11 | 408 | 194 | 3,061 |
HTML | 1 | 558 | 0 | 2,624 |
SVG | 1 | 0 | 0 | 1,742 |
PHP | 12 | 341 | 102 | 584 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 44.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 8.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 16.67% |
Functions | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
29 PNG files occupy 1.58MB with 0.94MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/select_arrow.png | 1.02KB | 0.15KB | ▼ 85.76% |
img/win_close_b.png | 0.99KB | 0.16KB | ▼ 83.96% |
img/pattern/gradient001.png | 0.13KB | 0.22KB | 0.00% |
img/pattern/pattern_0003W.png | 8.46KB | 4.06KB | ▼ 51.94% |
img/pattern/pattern_0002K.png | 1.64KB | 0.40KB | ▼ 75.94% |