Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/monogram/monogram.php+15
Undefined variable: value
Server metrics [RAM: ▼1.92MB] [CPU: ▼55.89ms] Passed 4 tests
A check of server-side resources used by Monogram
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.40 | 6.00 ▼35.56 |
Dashboard /wp-admin | 2.09 ▼1.22 | 5.64 ▼48.75 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 6.30 ▼43.51 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 6.80 ▼95.72 |
Media Library /wp-admin/upload.php | 2.09 ▼1.15 | 6.21 ▼28.40 |
Monogram /wp-admin/themes.php?page=monogram | 2.09 | 6.45 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
monogram |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Monogram: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.22 ▼1.15 | 1.75 ▼0.53 | 44.40 ▼0.41 |
Dashboard /wp-admin | 2,204 ▲13 | 5.83 ▲0.94 | 104.96 ▲0.30 | 39.72 ▲0.90 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.06 | 36.07 ▼4.11 | 34.29 ▼3.67 |
Add New Post /wp-admin/post-new.php | 1,522 ▼11 | 23.15 ▼0.14 | 626.16 ▲0.26 | 55.33 ▼1.96 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.19 ▼0.01 | 101.82 ▼8.16 | 43.91 ▼3.98 |
Monogram /wp-admin/themes.php?page=monogram | 782 | 2.03 | 27.67 | 29.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/monogram/monogram.php+15
Undefined variable: value
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- monogram
- 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
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/themes.php?page=monogram
- > Notice in wp-content/plugins/monogram/monogram.php+15
Undefined variable: value
- > GET request to /wp-admin/themes.php?page=monogram
- > Notice in wp-content/plugins/monogram/monogram.php+15
Undefined variable: deprecated
- > GET request to /wp-admin/themes.php?page=monogram
- > Notice in wp-content/plugins/monogram/monogram.php+15
Undefined variable: autoload
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/monogram/monogram.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: text, footer, icon, html, end
monogram/monogram.php 92% from 13 tests
"Monogram" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 199 characters long)
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
Everything looks great! No dangerous files found in this plugin85 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 21 | 20 | 85 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 1 | |
▷ Named functions | 1 | 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
PNG images were not found in this plugin