Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▲0.73ms] Passed 4 tests
Analyzing server-side resources used by Wordless Extender
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 40.93 ▲0.96 |
Dashboard /wp-admin | 3.49 ▲0.19 | 51.40 ▲1.71 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 53.24 ▲0.35 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 110.89 ▲11.16 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 39.45 ▼0.12 |
Wordless Extender /wp-admin/admin.php?page=wordless | 3.34 | 34.97 |
Security Fixes /wp-admin/admin.php?page=security_fixes | 3.34 | 36.27 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Wordless Extender: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲70 | 13.29 ▼1.39 | 1.57 ▼0.34 | 40.16 ▼6.23 |
Dashboard /wp-admin | 2,230 ▲39 | 5.87 ▼0.03 | 110.65 ▲10.29 | 45.14 ▲1.68 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.09 ▲0.03 | 39.83 ▲3.62 | 33.68 ▲0.93 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 18.60 ▼4.68 | 601.75 ▼52.20 | 54.55 ▼6.26 |
Media Library /wp-admin/upload.php | 1,409 ▲18 | 4.24 ▼0.06 | 97.40 ▼2.79 | 41.58 ▼3.15 |
Wordless Extender /wp-admin/admin.php?page=wordless | 830 | 2.04 | 27.04 | 28.48 |
Security Fixes /wp-admin/admin.php?page=security_fixes | 993 | 2.09 | 23.52 | 26.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wordless-extender/functions.php:30
- > PHP Fatal error
Uncaught Error: Class 'WordlessExtenderDB' not found in wp-content/plugins/wordless-extender/security.html.php:34
- > PHP Fatal error
Uncaught Error: Class 'WordlessExtenderPluginManager' not found in wp-content/plugins/wordless-extender/plugins.html.php:2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wordless-extender/wordless-extender/WordlessExtender.php on line 3
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/wordless-extender/wordless-extender/WordlessExtender.php on line 3
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wordless-extender/wordless-extender/WordlessExtender.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WordlessExtenderConstantManager' not found in wp-content/plugins/wordless-extender/constants.html.php:2
- > PHP Fatal error
Uncaught Error: Class 'WordlessExtender' not found in wp-content/plugins/wordless-extender/footer.html.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: wordless, development, configuration, wp-config, htaccess...
wordless-extender/wordless-extender.php 92% from 13 tests
This is the main PHP file of "Wordless Extender" version 1.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 163 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,328 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 324 | 74 | 1,316 |
JavaScript | 1 | 4 | 1 | 11 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 1.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 118 | |
▷ Static methods | 16 | 13.56% |
▷ Public methods | 55 | 46.61% |
▷ Protected methods | 1 | 0.85% |
▷ Private methods | 62 | 52.54% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/welaika.16x16.png | 0.93KB | 1.02KB | 0.00% |
assets/icon-128x128.png | 14.16KB | 5.20KB | ▼ 63.26% |
images/welaika.png | 9.17KB | 4.70KB | ▼ 48.79% |
assets/icon-256x256.png | 37.80KB | 13.85KB | ▼ 63.37% |
images/welaika.32x32.png | 2.12KB | 1.62KB | ▼ 23.37% |