Benchmarks
Plugin footprint Passed 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.06MB] [CPU: ▼140.35ms] Passed 4 tests
A check of server-side resources used by Simple Gmail Login
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 36.43 ▲17.42 |
Dashboard /wp-admin | 3.12 ▲0.06 | 52.27 ▲3.75 |
Posts /wp-admin/edit.php | 3.20 ▲0.09 | 44.68 ▼0.94 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.03 | 95.14 ▼561.47 |
Media Library /wp-admin/upload.php | 3.06 ▲0.05 | 31.51 ▼2.72 |
Simple Gmail Login /wp-admin/options-general.php?page=simple-gmail-login/simple-gmail-login.php | 3.03 | 31.97 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Simple Gmail Login
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,789 ▲193 | 16.02 ▲0.47 | 10.34 ▲0.28 | 49.29 ▼1.27 |
Dashboard /wp-admin | 3,056 ▲122 | 6.08 ▲0.13 | 143.94 ▼0.53 | 118.70 ▼1.84 |
Posts /wp-admin/edit.php | 2,743 ▲7 | 2.72 ▲0.02 | 70.43 ▲5.25 | 94.99 ▲0.33 |
Add New Post /wp-admin/post-new.php | 1,677 ▼199 | 18.97 ▼0.17 | 376.88 ▼20.65 | 116.62 ▼0.17 |
Media Library /wp-admin/upload.php | 1,817 ▲7 | 5.05 ▲0.00 | 148.24 ▲2.77 | 119.72 ▼3.00 |
Simple Gmail Login /wp-admin/options-general.php?page=simple-gmail-login/simple-gmail-login.php | 1,132 | 2.10 | 59.77 | 77.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/simple-gmail-login/settings-page.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: plugin_writeable in wp-content/plugins/simple-gmail-login/settings-page.php on line 24
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/simple-gmail-login/simple-gmail-login.php:49
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: login, gmail, wp-admin
simple-gmail-login/simple-gmail-login.php Passed 13 tests
This is the main PHP file of "Simple Gmail Login" version 1.2.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
71 characters long description:
With this plugin you can login to wp-admin using your GMail credentials
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 plugin362 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 67 | 124 | 299 |
CSS | 1 | 10 | 0 | 63 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 72.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 27.78% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin