Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.15MB] [CPU: ▼7.35ms] Passed 4 tests
An overview of server-side resources used by Inline Manual
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.74 ▼0.72 | 17.34 ▼24.06 |
Dashboard /wp-admin | 3.35 ▲0.04 | 52.49 ▲3.94 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.59 ▲2.86 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.50 ▼12.15 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.69 ▲5.33 |
Inline Manual /wp-admin/options-general.php?page=inlinemanual | 3.21 | 30.11 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
im_admin_roles |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Inline Manual
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,046 ▲311 | 16.61 ▲2.25 | 2.11 ▲0.19 | 39.22 ▼5.22 |
Dashboard /wp-admin | 2,440 ▲252 | 7.85 ▲2.77 | 169.70 ▲54.03 | 42.64 ▼5.24 |
Posts /wp-admin/edit.php | 2,302 ▲213 | 5.18 ▲3.18 | 93.56 ▲57.68 | 36.87 ▲1.35 |
Add New Post /wp-admin/post-new.php | 1,703 ▲164 | 24.48 ▲1.43 | 741.78 ▲143.28 | 60.00 ▲8.77 |
Media Library /wp-admin/upload.php | 1,616 ▲228 | 6.71 ▲2.49 | 161.96 ▲63.75 | 43.93 ▲0.19 |
Inline Manual /wp-admin/options-general.php?page=inlinemanual | 1,231 | 6.59 | 132.79 | 40.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- im_admin_roles
- theysaidso_admin_options
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
These server-side errors were triggered
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=inlinemanual
- > Notice in wp-content/plugins/inlinemanual/class.inlinemanual-admin.php+46
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=inlinemanual
- > Notice in wp-content/plugins/inlinemanual/class.inlinemanual-admin.php+63
Undefined index: editor
- > GET request to /wp-admin/options-general.php?page=inlinemanual
- > Notice in wp-content/plugins/inlinemanual/class.inlinemanual-admin.php+63
Undefined index: author
- > GET request to /wp-admin/options-general.php?page=inlinemanual
- > Notice in wp-content/plugins/inlinemanual/class.inlinemanual-admin.php+63
Undefined index: contributor
- > GET request to /wp-admin/options-general.php?page=inlinemanual
- > Notice in wp-content/plugins/inlinemanual/class.inlinemanual-admin.php+63
Undefined index: subscriber
SRP 50% 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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/inlinemanual/inlinemanual.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Too many tags (23 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Donate link: Please fix this invalid url: ""
- Screenshots: Add an image for screenshot #1 (Walkthrough example)
inlinemanual/inlinemanual.php Passed 13 tests
The principal PHP file in "Inline Manual" v. 0.9 is loaded by WordPress automatically on each request
28 characters long description:
Inline Manual for Wordpress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected190 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 19 | 20 | 144 |
CSS | 1 | 1 | 0 | 46 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 9 | 100.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.20MB with 0.08MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo-full-2x.png | 2.69KB | 1.76KB | ▼ 34.72% |
screenshot-1.png | 206.05KB | 60.85KB | ▼ 70.47% |
inlinemanual.png | 0.29KB | 0.26KB | ▼ 8.75% |