Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/back-end-instructions/instructions.php+104
Trying to access array offset on value of type bool
Server metrics [RAM: ▼0.77MB] [CPU: ▼32.37ms] Passed 4 tests
Server-side resources used by Back End Instructions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 38.17 ▼11.36 |
Dashboard /wp-admin | 3.18 ▼0.16 | 34.28 ▼33.97 |
Posts /wp-admin/edit.php | 3.19 ▼0.17 | 31.64 ▼16.42 |
Add New Post /wp-admin/post-new.php | 3.18 ▼2.70 | 30.71 ▼67.74 |
Media Library /wp-admin/upload.php | 3.19 ▼0.04 | 29.80 ▼9.71 |
Back End Instructions /wp-admin/options-general.php?page=bei | 3.34 | 37.54 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
_bei_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Back End Instructions
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲37 | 14.35 ▼0.40 | 1.88 ▼0.08 | 42.99 ▲2.08 |
Dashboard /wp-admin | 2,226 ▲49 | 5.63 ▼0.03 | 82.17 ▼10.89 | 39.82 ▼6.78 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.13 ▲0.18 | 41.27 ▲3.01 | 37.87 ▲2.24 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.15 ▲0.01 | 604.06 ▼56.96 | 65.51 ▲18.03 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.22 ▲0.05 | 94.12 ▼5.99 | 44.17 ▼2.25 |
Back End Instructions /wp-admin/options-general.php?page=bei | 937 | 2.04 | 23.63 | 28.07 |
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
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5453
Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- _bei_options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 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)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/back-end-instructions/instructions.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/back-end-instructions/mytheme/single-instructions.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/back-end-instructions/mytheme/archive-instructions.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 86% 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
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Example of the Back End Instructions page.), #2 (A view of the edit.php page (where an instruction will show) with the instruction expanded under the "Help" tab.), #3 (Close-up view of the ability to add an instruction to multiple pages on the back end.)
back-end-instructions/instructions.php 77% from 13 tests
Analyzing the main PHP file in "Back End Instructions" version 3.1.1
You should first fix the following items:
- Domain Path: The domain path should use only dashes and lowercase characters ("/bei_languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("back-end-instructions.php" instead of "instructions.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
No dangerous file extensions were detected988 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 242 | 271 | 688 |
CSS | 3 | 58 | 26 | 300 |
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.43 |
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 | 25 | |
▷ Named functions | 25 | 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 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