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.02MB] [CPU: ▼112.52ms] Passed 4 tests
Analyzing server-side resources used by Simple Editorial Guidelines
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.05 ▼7.12 |
Dashboard /wp-admin | 3.32 ▼0.11 | 54.66 ▼444.88 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 59.53 ▲7.42 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 98.76 ▼0.44 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.11 ▲2.36 |
Editorial Guidelines /wp-admin/options-general.php?page=wd_editorial_guidelines | 3.28 | 45.03 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Editorial Guidelines
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲37 | 14.24 ▼0.14 | 1.59 ▼0.03 | 42.34 ▲2.24 |
Dashboard /wp-admin | 2,204 ▲24 | 5.51 ▼0.15 | 97.83 ▲7.94 | 44.26 ▲5.03 |
Posts /wp-admin/edit.php | 2,109 ▲6 | 1.97 ▼0.00 | 40.25 ▲2.71 | 35.39 ▼3.12 |
Add New Post /wp-admin/post-new.php | 6,229 ▲4,692 | 26.17 ▲8.02 | 924.10 ▲319.88 | 56.47 ▼8.05 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.15 ▼0.12 | 103.60 ▲3.70 | 47.67 ▲2.89 |
Editorial Guidelines /wp-admin/options-general.php?page=wd_editorial_guidelines | 2,014 | 7.35 | 164.25 | 63.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 7× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/simple-editorial-guidelines/inc/admin-sidebar.php
- > /wp-content/plugins/simple-editorial-guidelines/index.php
- > /wp-content/plugins/simple-editorial-guidelines/inc/admin.php
- > /wp-content/plugins/simple-editorial-guidelines/inc/meta-box.php
- > /wp-content/plugins/simple-editorial-guidelines/inc/meta-styles.php
- > /wp-content/plugins/simple-editorial-guidelines/inc/admin-primary.php
- > /wp-content/plugins/simple-editorial-guidelines/inc/admin-structure.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=wd_editorial_guidelines
- > Network (severe)
wp-content/plugins/simple-editorial-guidelines/script.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
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
8 plugin tags: editing, guest posting, guidelines, editorial, user management...
simple-editorial-guidelines/index.php 92% from 13 tests
The main PHP file in "Simple Editorial Guidelines" ver. 0.0.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("simple-editorial-guidelines.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin311 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 194 | 27 | 299 |
JavaScript | 1 | 5 | 8 | 12 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 15 | |
▷ Named functions | 15 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin