Benchmarks
Plugin footprint 65% from 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.01MB] [CPU: ▼2.56ms] Passed 4 tests
Analyzing server-side resources used by Amader RSVP For Wordpress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 42.47 ▲2.71 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.36 ▲3.35 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.75 ▼10.00 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 96.47 ▼5.08 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 39.55 ▲2.15 |
Server storage [IO: ▲0.34MB] [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: 14 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_amader_rsvp |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Amader RSVP For Wordpress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲155 | 13.58 ▼0.80 | 11.98 ▲9.99 | 39.73 ▼1.67 |
Dashboard /wp-admin | 2,212 ▲38 | 5.61 ▲0.03 | 91.77 ▲0.82 | 53.15 ▲10.71 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 1.99 ▼0.00 | 35.32 ▼5.13 | 39.54 ▼2.28 |
Add New Post /wp-admin/post-new.php | 1,691 ▲154 | 22.35 ▲4.30 | 632.78 ▲8.77 | 56.32 ▼7.28 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.18 ▼0.05 | 99.61 ▲2.79 | 56.46 ▲10.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_amader_rsvp
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/amader-rsvp/src/rsvp-main.php:184
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/amader-rsvp/amader-rsvp.php:23
- > 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)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
No tags were found
amader-rsvp/amader-rsvp.php Passed 13 tests
"Amader RSVP For Wordpress" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
90 characters long description:
Amazing RSVP plugin for free for you. Its easy and simple to use anywhere in your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected495 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 63 | 27 | 248 |
XML | 4 | 0 | 0 | 217 |
CSS | 4 | 5 | 9 | 28 |
JavaScript | 1 | 0 | 5 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.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
There were not PNG files found in your plugin