Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.79MB] [CPU: ▼35.63ms] Passed 4 tests
This is a short check of server-side resources used by QuickWP
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.91 ▲0.46 | 40.93 ▲0.52 |
Dashboard /wp-admin | 3.16 ▼0.19 | 19.18 ▼34.78 |
Posts /wp-admin/edit.php | 3.16 ▼0.20 | 19.46 ▼19.87 |
Add New Post /wp-admin/post-new.php | 3.16 ▼2.73 | 20.16 ▼75.87 |
Media Library /wp-admin/upload.php | 3.16 ▼0.07 | 21.30 ▼11.99 |
Create file /wp-admin/admin.php?page=create-file | 3.16 | 18.97 |
Browse QuickWP files /wp-admin/admin.php?page=browse-files | 3.16 | 20.45 |
QuickWP /wp-admin/admin.php?page=quickwp | 3.16 | 19.26 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for QuickWP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲103 | 13.61 ▼1.05 | 1.64 ▼0.27 | 41.31 ▼5.21 |
Dashboard /wp-admin | 2,244 ▲62 | 5.88 ▲0.04 | 97.14 ▼8.71 | 37.62 ▼1.41 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.06 ▲0.07 | 47.71 ▲5.46 | 35.78 ▼2.05 |
Add New Post /wp-admin/post-new.php | 1,555 ▲41 | 19.04 ▲1.40 | 591.92 ▼40.83 | 48.87 ▼1.17 |
Media Library /wp-admin/upload.php | 1,426 ▲35 | 4.22 ▼0.06 | 97.78 ▲0.70 | 43.97 ▲2.18 |
Create file /wp-admin/admin.php?page=create-file | 826 | 2.05 | 24.16 | 34.35 |
Browse QuickWP files /wp-admin/admin.php?page=browse-files | 2,413 | 7.27 | 203.12 | 235.11 |
QuickWP /wp-admin/admin.php?page=quickwp | 849 | 2.02 | 22.19 | 36.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/quickwp/quickwp.php+68
Undefined index: quickwp_plugins
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=quickwp
- > Notice in wp-content/plugins/quickwp/quickwp.php+68
Undefined index: quickwp_plugins
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=quickwp
- > Warning in wp-content/plugins/quickwp/quickwp.php+71
count(): Parameter must be an array or an object that implements Countable
- > GET request to /wp-admin/admin.php?page=create-file
- > Deprecated in wp-content/plugins/quickwp/inc/quickwp.class.php+131
Non-static method QuickWP\Plugin_Create::get_plugin_names() should not be called statically
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 output text when accessed directly:
- > /wp-content/plugins/quickwp/quickwp.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/quickwp/inc/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=browse-files
- > Javascript (severe) in unknown
http://cdn.iubenda.com/cs/tcf/stub.js 0:1328 Uncaught DOMException: Blocked a frame with origin "http://www.lingulo.com" from accessing a cross-origin frame.
- > GET request to /wp-admin/admin.php?page=browse-files
- > Javascript (severe) in unknown
http://www.lingulo.com/wp-content/plugins/contact-form-7/modules/recaptcha/script.js?ver=5.3.2 27:2 Uncaught ReferenceError: grecaptcha is not defined
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: installation, fast, quickwp, useful, quick...
quickwp/quickwp.php Passed 13 tests
This is the main PHP file of "QuickWP" version 0.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
85 characters long description:
QuickWP is a plugin to quickly install a collection of plugins on a WordPress install
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
Good job! No executable or dangerous file extensions detected2,623 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 524 | 1,627 | 2,177 |
CSS | 1 | 14 | 3 | 379 |
JavaScript | 1 | 1 | 0 | 67 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 37.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 2 | 20.00% |
▷ Concrete classes | 8 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 118 | |
▷ Static methods | 6 | 5.08% |
▷ Public methods | 95 | 80.51% |
▷ Protected methods | 23 | 19.49% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 7 | 70.00% |
▷ Class constants | 3 | 30.00% |
▷ Public constants | 3 | 100.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