Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.04ms] Passed 4 tests
A check of server-side resources used by Apostle Social Wall
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.53 ▲1.93 |
Dashboard /wp-admin | 3.34 ▼0.00 | 43.42 ▼16.34 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 42.67 ▼0.19 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 80.95 ▼11.52 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.16 ▼4.11 |
Add New Feed /wp-admin/post-new.php?post_type=social_wall | 3.30 | 41.42 |
All Feeds /wp-admin/edit.php?post_type=social_wall | 3.30 | 37.27 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Apostle Social Wall
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,921 ▲150 | 13.73 ▼0.62 | 7.65 ▲5.67 | 40.38 ▼0.27 |
Dashboard /wp-admin | 2,234 ▲45 | 5.84 ▲0.93 | 96.97 ▼8.86 | 39.12 ▼5.55 |
Posts /wp-admin/edit.php | 2,117 ▲31 | 2.14 ▲0.09 | 35.42 ▲0.15 | 34.13 ▲1.34 |
Add New Post /wp-admin/post-new.php | 1,541 ▲20 | 22.81 ▼0.47 | 624.45 ▼53.88 | 50.24 ▼8.92 |
Media Library /wp-admin/upload.php | 1,413 ▲25 | 4.24 ▲0.01 | 105.15 ▼1.57 | 40.88 ▼8.52 |
Add New Feed /wp-admin/post-new.php?post_type=social_wall | 1,498 | 2.66 | 51.73 | 71.05 |
All Feeds /wp-admin/edit.php?post_type=social_wall | 1,101 | 2.00 | 29.99 | 30.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/apostle-social-wall/admin/partials/apostle-social-wall-admin-display.php
- > /wp-content/plugins/apostle-social-wall/public/partials/apostle-social-wall-public-display.php
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: comments, spam
apostle-social-wall/apostle-social-wall.php Passed 13 tests
"Apostle Social Wall" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
97 characters long description:
Apostle Social Wall is a great plugin for adding the apostle connect social wall to your website.
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
No dangerous file extensions were detected547 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 128 | 564 | 288 |
CSS | 2 | 0 | 8 | 245 |
JavaScript | 3 | 6 | 54 | 14 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 4.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 1.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 27 | 84.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.62% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
1 PNG file occupies 0.34MB with 0.18MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/blog_default.png | 347.76KB | 168.21KB | ▼ 51.63% |