Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.40ms] Passed 4 tests
This is a short check of server-side resources used by Simple Linkedin Feeds
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.75 ▼4.17 |
Dashboard /wp-admin | 3.35 ▲0.05 | 49.26 ▼4.74 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 45.54 ▼2.09 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 95.15 ▼2.61 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 34.18 ▲1.86 |
Simple Linkedin Feeds /wp-admin/options-general.php?page=simple-linkedin-feeds/simple-linkedin-feeds.php | 3.24 | 29.30 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Linkedin Feeds
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲137 | 14.21 ▼0.19 | 64.96 ▲63.31 | 41.61 ▼8.58 |
Dashboard /wp-admin | 2,212 ▲24 | 5.86 ▼0.03 | 99.38 ▼9.57 | 36.53 ▼11.77 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.04 ▲0.07 | 35.40 ▼0.26 | 34.83 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.11 ▼5.09 | 581.44 ▼134.40 | 49.09 ▼10.86 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.26 ▲0.02 | 96.52 ▼17.07 | 43.40 ▼6.25 |
Simple Linkedin Feeds /wp-admin/options-general.php?page=simple-linkedin-feeds/simple-linkedin-feeds.php | 889 | 1.72 | 24.57 | 33.30 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-linkedin-feeds/simple-linkedin-feeds.php:193
- > PHP Fatal error
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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: social media linkedin, linkedin slider display, simple linkedin feeds, linkedin feeds, wordpress plugin...
simple-linkedin-feeds/simple-linkedin-feeds.php Passed 13 tests
Analyzing the main PHP file in "Simple Linkedin Feeds" version 1.0
86 characters long description:
Simple Linkedin Feeds - Quick, small and easy to display linkedin Feeds for wordpress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin342 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 143 | 28 | 211 |
CSS | 1 | 1 | 0 | 127 |
HTML | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 12 | |
▷ Static methods | 2 | 16.67% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/sldw_icon.png | 2.78KB | 1.58KB | ▼ 42.95% |