Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.36MB] [CPU: ▼9.90ms] Passed 4 tests
This is a short check of server-side resources used by Meetup
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 43.94 ▲3.13 |
Dashboard /wp-admin | 4.01 ▲0.67 | 53.57 ▼8.11 |
Posts /wp-admin/edit.php | 4.10 ▲0.74 | 51.28 ▼1.49 |
Add New Post /wp-admin/post-new.php | 5.82 ▼0.07 | 62.14 ▼33.14 |
Media Library /wp-admin/upload.php | 3.91 ▲0.68 | 41.72 ▲6.91 |
All Meetups /wp-admin/edit.php?post_type=meetup | 3.98 | 43.63 |
Create New /wp-admin/post-new.php?post_type=meetup | 3.91 | 44.24 |
Settings /wp-admin/edit.php?post_type=meetup&page=meetup-settings | 3.95 | 52.57 |
Server storage [IO: ▲1.05MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 134 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_meetup_users |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
meetup_email |
widget_theysaidso_widget |
meetup_facebook |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Meetup
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,981 ▲220 | 15.10 ▲1.07 | 1.79 ▲0.23 | 44.00 ▲5.75 |
Dashboard /wp-admin | 2,387 ▲209 | 6.39 ▲0.77 | 119.62 ▲13.26 | 40.14 ▼1.75 |
Posts /wp-admin/edit.php | 2,315 ▲215 | 3.51 ▲1.49 | 51.02 ▲12.37 | 30.62 ▼7.04 |
Add New Post /wp-admin/post-new.php | 1,583 ▲44 | 23.42 ▲0.35 | 619.93 ▲17.08 | 33.43 ▼20.14 |
Media Library /wp-admin/upload.php | 1,452 ▲61 | 4.32 ▲0.11 | 86.47 ▼10.50 | 43.02 ▲0.73 |
All Meetups /wp-admin/edit.php?post_type=meetup | 1,292 | 3.53 | 49.26 | 25.65 |
Create New /wp-admin/post-new.php?post_type=meetup | 4,388 | 8.16 | 232.42 | 80.65 |
Settings /wp-admin/edit.php?post_type=meetup&page=meetup-settings | 1,537 | 6.81 | 141.96 | 37.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_meetup_users
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- meetup_facebook
- widget_recent-posts
- theysaidso_admin_options
- meetup_email
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=meetup
- > User deprecated in wp-includes/functions.php+5828
Hook dbx_post_advanced is deprecated since version 3.7.0! Use add_meta_boxes instead.
SRP 0% 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
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/meetup/includes/email/footer.php
- > /wp-content/plugins/meetup/includes/email/header.php
- 32× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/meetup/lib/Custom-Meta-Boxes/example-functions.php:104
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/meetup/templates/meetup-speakers.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/meetup/templates/meetup-sponsors.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/meetup/lib/Custom-Meta-Boxes/classes.fields.php:581
- > PHP Warning
require_once(MEETUP_PATH/lib/class.settings-api.php): failed to open stream: No such file or directory in wp-content/plugins/meetup/includes/admin/settings.php on line 13
- > PHP Warning
Use of undefined constant WP_CONTENT_URL - assumed 'WP_CONTENT_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/meetup/lib/Custom-Meta-Boxes/custom-meta-boxes.php on line 32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/meetup/includes/booking.php:246
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/meetup/lib/Custom-Meta-Boxes/tests/testGroupField.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_id() in wp-content/plugins/meetup/templates/meetup-content.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/meetup/templates/meetup-header.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 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
9 plugin tags: meetup, seminar, meeting, conference, venue...
meetup/meetup.php Passed 13 tests
The entry point to "Meetup" version 0.1 is a PHP file that has certain tags in its header comment area
20 characters long description:
Create meetup events
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
Everything looks great! No dangerous files found in this plugin11,450 lines of code in 97 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 1,515 | 1,067 | 3,912 |
CSS | 17 | 265 | 138 | 3,371 |
JavaScript | 32 | 708 | 543 | 2,732 |
LESS | 3 | 133 | 13 | 690 |
SVG | 2 | 0 | 0 | 433 |
Markdown | 3 | 47 | 0 | 98 |
Bourne Shell | 2 | 26 | 3 | 72 |
JSON | 3 | 0 | 0 | 65 |
PO File | 2 | 16 | 20 | 63 |
XML | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 9.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 1 | 3.33% |
▷ Concrete classes | 29 | 96.67% |
▷ Final classes | 0 | 0.00% |
Methods | 166 | |
▷ Static methods | 3 | 1.81% |
▷ Public methods | 162 | 97.59% |
▷ Protected methods | 1 | 0.60% |
▷ Private methods | 3 | 1.81% |
Functions | 54 | |
▷ Named functions | 54 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
17 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/Custom-Meta-Boxes/js/select2/select2x2.png | 0.83KB | 0.77KB | ▼ 6.15% |
lib/Custom-Meta-Boxes/css/vendor/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.33KB | 0.12KB | ▼ 62.09% |
lib/Custom-Meta-Boxes/css/vendor/jquery-ui/images/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
lib/Custom-Meta-Boxes/css/vendor/jquery-ui/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
lib/Custom-Meta-Boxes/css/vendor/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |