Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.78ms] Passed 4 tests
This is a short check of server-side resources used by PushAll
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.11 ▼6.22 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.67 ▼4.83 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.18 ▼4.34 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 79.28 ▼15.71 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.60 ▼3.90 |
PushAll /wp-admin/options-general.php?page=pushall | 3.23 | 23.99 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_pushall_log |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
pushall_db_version |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for PushAll
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 13.31 ▼1.17 | 1.59 ▼0.43 | 38.32 ▼6.62 |
Dashboard /wp-admin | 2,215 ▲60 | 4.85 ▼0.79 | 115.00 ▲3.22 | 42.75 ▼2.03 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.03 ▲0.04 | 42.49 ▲6.12 | 33.82 ▼2.28 |
Add New Post /wp-admin/post-new.php | 1,537 ▲3 | 23.36 ▲0.65 | 660.74 ▲8.21 | 57.57 ▲1.86 |
Media Library /wp-admin/upload.php | 1,391 ▲12 | 4.31 ▲0.12 | 91.92 ▼2.83 | 39.94 ▼5.16 |
PushAll /wp-admin/options-general.php?page=pushall | 795 | 2.06 | 27.84 | 32.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_pushall_log
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- pushall_db_version
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
Please fix the following
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'PushAll_WP_List_Table' not found in wp-content/plugins/pushall/includes/class-pushall-logs-list.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/pushall/views/pushall-admin_logs_page.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/pushall/views/pushall-admin_menu_settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/pushall/views/pushall-post_meta_boxes.php:27
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/pushall/includes/class-pushall-widget.php:10
- > PHP Notice
Undefined variable: pushall_active in wp-content/plugins/pushall/views/pushall-post_meta_boxes.php on line 10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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 need to be fixed:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
pushall/pushall.php Passed 13 tests
The primary PHP file in "PushAll" version 1.1.1 is used by WordPress to initiate all plugin functionality
58 characters long description:
Send Push notifications from Wordpress via PushAll service
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,357 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 291 | 734 | 1,196 |
PO File | 1 | 64 | 74 | 154 |
CSS | 1 | 1 | 0 | 7 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 36.60 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 117.00 |
Average method complexity | 3.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 85 | |
▷ Static methods | 21 | 24.71% |
▷ Public methods | 56 | 65.88% |
▷ Protected methods | 29 | 34.12% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
There are no PNG files in this plugin