Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼4.98ms] Passed 4 tests
An overview of server-side resources used by Fluistr Authentication
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.96 ▼5.34 |
Dashboard /wp-admin | 3.42 ▲0.12 | 50.01 ▼7.59 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 51.85 ▼4.45 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 102.84 ▼2.55 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 39.77 ▲2.94 |
Fluistr /wp-admin/admin.php?page=wpfluistr-settings | 3.35 | 47.51 |
Server storage [IO: ▲1.97MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 69 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
wp_fluistr |
Browser metrics Passed 4 tests
An overview of browser requirements for Fluistr Authentication
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲90 | 14.35 ▲0.03 | 1.63 ▼0.03 | 43.18 ▲1.99 |
Dashboard /wp-admin | 2,245 ▲68 | 5.58 ▼0.09 | 84.96 ▼4.85 | 76.57 ▲36.84 |
Posts /wp-admin/edit.php | 2,165 ▲83 | 1.99 ▼0.01 | 41.96 ▲5.79 | 35.39 ▲0.24 |
Add New Post /wp-admin/post-new.php | 1,574 ▲46 | 23.07 ▲0.07 | 642.29 ▼24.38 | 106.42 ▲54.94 |
Media Library /wp-admin/upload.php | 1,462 ▲62 | 4.11 ▼0.10 | 100.38 ▲3.44 | 68.18 ▲25.34 |
Fluistr /wp-admin/admin.php?page=wpfluistr-settings | 1,191 | 2.10 | 29.39 | 41.33 |
Settings /wp-admin/admin.php?page=wpfluistr-settings§ion=settings#settings | 1,188 | 2.18 | 30.45 | 38.09 |
Dashboard /wp-admin/admin.php?page=wpfluistr-settings§ion=settings#dashboard | 1,188 | 2.23 | 28.95 | 38.67 |
Extra /wp-admin/admin.php?page=wpfluistr-settings§ion=settings#extra | 1,197 | 2.18 | 27.49 | 38.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/fluistr-authentication/modules/fluistr-settings/views/get-pro-box.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Dasboard plugin), #2 (Settings plugin), #3 (Users overview plugin), #4 (Login screen), #5 (Login confirmation screen)
fluistr-authentication/fluistr-authentication.php 85% from 13 tests
Analyzing the main PHP file in "Fluistr Authentication" version 1.0.1
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 157 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin2,687 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 542 | 764 | 2,302 |
PO File | 1 | 79 | 96 | 254 |
SVG | 8 | 0 | 0 | 87 |
HTML | 3 | 0 | 0 | 38 |
CSS | 3 | 3 | 3 | 3 |
JavaScript | 3 | 0 | 2 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 32.62 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 137.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 100 | |
▷ Static methods | 21 | 21.00% |
▷ Public methods | 89 | 89.00% |
▷ Protected methods | 6 | 6.00% |
▷ Private methods | 5 | 5.00% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 6 | 75.00% |
▷ Class constants | 2 | 25.00% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 1.64MB with 0.93MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
modules/fluistr-settings/assets/dashboard-support.png | 27.18KB | 11.20KB | ▼ 58.80% |
modules/fluistr-login/assets/images/button-playstore.png | 11.21KB | 4.74KB | ▼ 57.71% |
modules/fluistr-login/assets/images/button-appstore.png | 9.39KB | 4.89KB | ▼ 47.93% |
modules/fluistr-settings/assets/Google-Playstore.png | 6.21KB | 2.99KB | ▼ 51.88% |
screenshot-3.png | 233.72KB | 74.36KB | ▼ 68.18% |