Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.05MB] [CPU: ▼15.98ms] Passed 4 tests
This is a short check of server-side resources used by Meetup Login
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 27.36 ▼16.49 |
Dashboard /wp-admin | 3.30 ▲0.00 | 32.80 ▼14.67 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 37.29 ▼12.39 |
Add New Post /wp-admin/post-new.php | 5.57 ▼0.32 | 71.77 ▼20.37 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 29.55 ▼6.18 |
Meetup Login /wp-admin/options-general.php?page=tte_mup_settings | 3.28 | 27.73 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Meetup Login
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲63 | 13.19 ▼1.18 | 1.60 ▼0.29 | 42.17 ▼5.61 |
Dashboard /wp-admin | 2,202 ▲17 | 5.76 ▼0.14 | 98.50 ▼5.78 | 37.29 ▼5.66 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.01 ▼0.02 | 39.95 ▲1.21 | 37.09 ▲3.61 |
Add New Post /wp-admin/post-new.php | 1,537 ▲3 | 22.16 ▼1.07 | 679.85 ▲5.88 | 56.32 ▲2.63 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.16 ▼0.05 | 98.47 ▼9.20 | 42.36 ▼2.84 |
Meetup Login /wp-admin/options-general.php?page=tte_mup_settings | 914 | 2.03 | 23.33 | 25.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=tte_mup_settings
- > Notice in wp-content/plugins/wp-meetup-login/includes/lib/class-tte-oauth-mods.php+48
Trying to access array offset on value of type bool
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 task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-meetup-login/meetup-login.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function Meetup\\plugins_url() in wp-content/plugins/wp-meetup-login/includes/conf/meetup.conf.php:60
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
3 plugin tags: meetup-api, social-login, meetup
wp-meetup-login/meetup-login.php 77% from 13 tests
"Meetup Login" version 0.9.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-meetup-login.php" instead of "meetup-login.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected520 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 304 | 278 | 520 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 12.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 1 | 2.86% |
▷ Public methods | 28 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 20.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/assets/img/linkedin.png | 1.00KB | 0.92KB | ▼ 7.84% |
includes/assets/img/oauth-button.png | 3.83KB | 2.19KB | ▼ 42.82% |