Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.44ms] Passed 4 tests
A check of server-side resources used by Edithor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.29 ▼1.81 |
Dashboard /wp-admin | 3.32 ▲0.01 | 42.87 ▼5.50 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.57 ▼1.69 |
Add New Post /wp-admin/post-new.php | 5.84 ▼0.05 | 83.21 ▼16.75 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 41.08 ▲6.82 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Edithor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.29 ▼0.27 | 1.75 ▲0.13 | 46.14 ▲4.86 |
Dashboard /wp-admin | 2,192 ▲15 | 5.51 ▼0.15 | 84.52 ▼4.66 | 38.34 ▼1.10 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.08 ▲0.13 | 33.78 ▼2.70 | 33.03 ▲0.43 |
Add New Post /wp-admin/post-new.php | 1,696 ▲159 | 22.54 ▲4.00 | 620.64 ▼11.48 | 45.33 ▼16.66 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.17 ▼0.04 | 95.39 ▼1.58 | 46.77 ▲1.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: templates, editor, gutenberg, blocks, page builder
edithor/edithor.php Passed 13 tests
The main PHP script in "Edithor" version 1.0.1 is automatically included on every request by WordPress
132 characters long description:
Tool extending the new Gutenberg block editor. Simply create and design custom pages by using beautiful templates, layouts & blocks.
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
Everything looks great! No dangerous files found in this plugin49 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 11 | 33 | 40 |
CSS | 2 | 0 | 11 | 8 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/assets/templates/layout-007.png | 0.76KB | 0.43KB | ▼ 43.97% |
dist/assets/templates/layout-004.png | 1.29KB | 0.95KB | ▼ 25.93% |
dist/assets/templates/layout-002.png | 1.18KB | 0.85KB | ▼ 28.22% |
dist/assets/templates/layout-003.png | 1.67KB | 1.34KB | ▼ 20.00% |
dist/assets/templates/layout-001.png | 1.56KB | 1.22KB | ▼ 21.52% |