Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▲1.85ms] Passed 4 tests
Analyzing server-side resources used by Post and Page Quick Editing
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 37.35 ▼1.95 |
Dashboard /wp-admin | 3.51 ▲0.20 | 47.66 ▲1.48 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 49.72 ▲4.42 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 92.99 ▲4.13 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 38.14 ▲3.75 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Post and Page Quick Editing
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 13.76 ▼0.59 | 1.77 ▲0.13 | 41.61 ▼6.12 |
Dashboard /wp-admin | 2,242 ▲57 | 4.87 ▼1.01 | 110.72 ▲10.30 | 38.13 ▼4.50 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.14 | 39.85 ▲1.62 | 36.26 ▲1.35 |
Add New Post /wp-admin/post-new.php | 6,216 ▲4,681 | 25.89 ▲2.67 | 924.26 ▲240.66 | 53.39 ▼8.22 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.21 ▼0.01 | 104.18 ▲3.09 | 43.03 ▼1.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/quick-edit/quick-edit.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/quick-edit/lib/appsero/vendor/tareq1988/wp-php-cs-fixer/loader.php' (include_path='.:/usr/share/php') in wp-content/plugins/quick-edit/lib/appsero/.php-cs-fixer.dist.php on line 3
- > PHP Warning
require_once(wp-content/plugins/quick-edit/lib/appsero/vendor/tareq1988/wp-php-cs-fixer/loader.php): failed to open stream: No such file or directory in wp-content/plugins/quick-edit/lib/appsero/.php-cs-fixer.dist.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: widget, dashboard widget
quick-edit/quick-edit.php 85% from 13 tests
Analyzing the main PHP file in "Post and Page Quick Editing" version 1.6.3
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
- Description: The description should be shorter than 140 characters (currently 217 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected2,121 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 431 | 677 | 1,694 |
Markdown | 1 | 82 | 0 | 255 |
XML | 1 | 6 | 11 | 95 |
JSON | 1 | 0 | 0 | 45 |
YAML | 1 | 6 | 0 | 32 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 42.60 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 99 | |
▷ Static methods | 1 | 1.01% |
▷ Public methods | 64 | 64.65% |
▷ Protected methods | 6 | 6.06% |
▷ Private methods | 29 | 29.29% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin