Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.63ms] Passed 4 tests
Server-side resources used by Pushatomic
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 38.95 ▲0.51 |
Dashboard /wp-admin | 3.36 ▲0.02 | 44.12 ▼17.80 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 45.90 ▼2.97 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 88.13 ▼14.26 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.98 ▲2.13 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 50 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
pushatomic |
Browser metrics Passed 4 tests
Pushatomic: 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 / | 2,845 ▲98 | 14.19 ▼0.16 | 1.75 ▼0.02 | 41.66 ▼2.79 |
Dashboard /wp-admin | 2,253 ▲73 | 5.66 ▲0.08 | 98.02 ▲5.59 | 42.03 ▲0.36 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 2.04 ▲0.08 | 41.51 ▲2.09 | 34.79 ▼1.49 |
Add New Post /wp-admin/post-new.php | 1,539 ▲1 | 23.95 ▼1.37 | 649.35 ▲37.24 | 55.62 ▼2.46 |
Media Library /wp-admin/upload.php | 1,459 ▲62 | 4.18 ▲0.01 | 95.58 ▼4.97 | 40.21 ▼2.58 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/pushatomic/pushatomic.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Contributors: The plugin contributors field is not present
pushatomic/pushatomic.php Passed 13 tests
Analyzing the main PHP file in "Pushatomic" version 1.0.15
50 characters long description:
Add Pushatomic to your web easily with this plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,886 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 146 | 28 | 800 |
PHP | 3 | 147 | 11 | 459 |
CSS | 2 | 96 | 4 | 443 |
PO File | 1 | 60 | 66 | 140 |
SVG | 2 | 0 | 1 | 43 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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 were not PNG files found in your plugin