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.09MB] [CPU: ▼9.33ms] Passed 4 tests
This is a short check of server-side resources used by Post Network
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.08 | 42.84 ▼7.97 |
Dashboard /wp-admin | 3.45 ▲0.06 | 51.32 ▼11.75 |
Posts /wp-admin/edit.php | 3.57 ▲0.17 | 50.48 ▼2.27 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.12 | 85.67 ▼15.32 |
Media Library /wp-admin/upload.php | 3.38 ▲0.10 | 42.22 ▲3.36 |
Settings /wp-admin/admin.php?page=post_network_settings | 3.34 | 32.63 |
Visualize /wp-admin/admin.php?page=post_network | 3.37 | 39.01 |
Server storage [IO: ▲1.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
post_network |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Post Network
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲68 | 14.18 ▼0.42 | 1.72 ▼0.63 | 43.39 ▲0.22 |
Dashboard /wp-admin | 2,248 ▲68 | 6.01 ▲0.35 | 141.62 ▲48.28 | 42.09 ▲0.49 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 3.00 ▲1.02 | 42.41 ▲2.20 | 36.41 ▼2.22 |
Add New Post /wp-admin/post-new.php | 1,572 ▲44 | 23.24 ▲0.20 | 660.31 ▼7.95 | 37.95 ▼23.23 |
Media Library /wp-admin/upload.php | 1,450 ▲56 | 5.32 ▲1.14 | 110.98 ▲10.99 | 43.93 ▲1.40 |
Settings /wp-admin/admin.php?page=post_network_settings | 929 | 2.72 | 31.88 | 29.39 |
Visualize /wp-admin/admin.php?page=post_network | 927 | 2.91 | 59.53 | 26.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- post_network
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 21 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=post_network
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 21 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=post_network
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: internal link, link, graph, seo plugin, links...
post-network/post-network.php 92% from 13 tests
The main PHP script in "Post Network" version 1.4.2 is automatically included on every request by WordPress
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
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
No dangerous file extensions were detected667 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 112 | 139 | 442 |
CSS | 2 | 1 | 0 | 131 |
JavaScript | 2 | 8 | 65 | 94 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 51.00 |
▷ Minimum class complexity | 51.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 28 | |
▷ Static methods | 5 | 17.86% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.34MB with 0.22MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 206.30KB | 72.66KB | ▼ 64.78% |
screenshot-1.png | 123.14KB | 37.83KB | ▼ 69.28% |
screenshot-2.png | 19.04KB | 8.34KB | ▼ 56.22% |