Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/wp-inline-edit/wp-inline-edit.php+281
Function create_function() is deprecated
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.54ms] Passed 4 tests
Server-side resources used by WP Inline Edit
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.12 ▼9.47 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.93 ▲1.07 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 48.03 ▲0.27 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 92.95 ▼10.03 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 35.65 ▲3.17 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
wp_inline_edit_install |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Inline Edit
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲191 | 14.17 ▼0.20 | 6.58 ▲4.70 | 37.89 ▼7.89 |
Dashboard /wp-admin | 2,203 ▲12 | 4.88 ▼0.00 | 106.82 ▲0.27 | 43.84 ▲3.11 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.05 ▲0.02 | 39.34 ▼3.62 | 33.44 ▼4.27 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 18.35 ▼4.95 | 601.55 ▲10.97 | 57.79 ▲7.05 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.22 ▲0.02 | 96.25 ▼6.21 | 41.21 ▼1.16 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- wp_inline_edit_install
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-inline-edit/wp-inline-edit.php:20
- > PHP Fatal error
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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Loader), #2 (Title Inline editing)
wp-inline-edit/wp-inline-edit.php Passed 13 tests
The main PHP script in "WP Inline Edit" version 1.3 is automatically included on every request by WordPress
136 characters long description:
Wp Inline Edit will add ability to author/admin/editor to edit your post/page from page/post itself without going to wp-admin edit page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin307 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 36 | 77 | 224 |
JavaScript | 2 | 10 | 7 | 45 |
CSS | 1 | 0 | 0 | 38 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
4 PNG files occupy 0.07MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 28.01KB | 19.09KB | ▼ 31.84% |
screenshot-2.png | 23.14KB | 15.91KB | ▼ 31.27% |
images/logo.png | 6.52KB | 3.70KB | ▼ 43.21% |
screenshot-3.png | 15.24KB | 10.17KB | ▼ 33.24% |