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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼296.86ms] Passed 4 tests
A check of server-side resources used by Notification Panda Social Proof
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.08 | 55.10 ▲3.64 |
Dashboard /wp-admin | 3.48 ▲0.07 | 37.45 ▲4.39 |
Posts /wp-admin/edit.php | 3.70 ▲0.07 | 39.28 ▲2.21 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.04 | 92.55 ▼1,193.69 |
Media Library /wp-admin/upload.php | 3.36 ▲0.06 | 26.04 ▲0.40 |
Notification Panda /wp-admin/admin.php?page=notification-panda | 3.32 | 23.57 |
Install Pixel /wp-admin/admin.php?page=notification-panda-install-pixel | 3.33 | 29.06 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Notification Panda Social Proof: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,840 ▲96 | 16.20 ▲0.58 | 6.29 ▲0.15 | 2.26 ▲0.18 |
Dashboard /wp-admin | 2,948 ▲90 | 6.18 ▲0.03 | 120.43 ▼15.10 | 156.94 ▼6.90 |
Posts /wp-admin/edit.php | 2,745 ▲60 | 3.25 ▲0.02 | 68.76 ▲3.00 | 142.37 ▼1.41 |
Add New Post /wp-admin/post-new.php | 1,706 ▲45 | 19.39 ▲3.11 | 385.97 ▼20.98 | 158.27 ▼2.84 |
Media Library /wp-admin/upload.php | 1,753 ▲55 | 5.57 ▲0.04 | 144.98 ▲4.16 | 187.53 ▼1.43 |
Notification Panda /wp-admin/admin.php?page=notification-panda | 841 | 2.16 | 37.57 | 72.52 |
Install Pixel /wp-admin/admin.php?page=notification-panda-install-pixel | 1,250 | 5.22 | 116.38 | 126.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/notificationpanda/views/login.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/notificationpanda/views/dashboard-notices.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/notificationpanda/views/install-pixel.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/notificationpanda/notificationpanda.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/notificationpanda/views/sidebar.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
notificationpanda/notificationpanda.php Passed 13 tests
The main PHP script in "Notification Panda Social Proof" version 2.0.0 is automatically included on every request by WordPress
126 characters long description:
Allows you to install Notification Panda of your WordPress Website and Manage your campaigns directly from your WP Admin area.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin221 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 33 | 9 | 221 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin