Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.08ms] Passed 4 tests
This is a short check of server-side resources used by Biogram Linkpage - A link in bio solution
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 48.83 ▲2.63 |
Dashboard /wp-admin | 3.33 ▲0.02 | 54.17 ▲4.48 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.53 ▼2.50 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.49 ▼13.89 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.54 ▲1.43 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
juist_biogram_page_id |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Biogram Linkpage - A link in bio solution
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲49 | 13.17 ▼1.12 | 2.15 ▼0.01 | 40.03 ▼8.61 |
Dashboard /wp-admin | 2,239 ▲33 | 4.84 ▼0.24 | 114.15 ▼13.42 | 46.11 ▲1.23 |
Posts /wp-admin/edit.php | 2,122 ▲19 | 2.06 ▲0.05 | 39.17 ▲1.19 | 34.35 ▼3.78 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 23.27 ▲5.82 | 614.00 ▼28.73 | 93.86 ▲29.44 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.19 ▼0.01 | 110.59 ▼13.77 | 47.60 ▼1.36 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/biogram-linkpage/includes/biogram-landingspage.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/biogram-linkpage/includes/biogram-landingspage-template.php:152
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: instagram, landingspage, content, landing page
biogram-linkpage/biogram-landingspage.php 85% from 13 tests
The main PHP file in "Biogram Linkpage - A link in bio solution" ver. 1.4 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 159 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("biogram-linkpage.php" instead of "biogram-landingspage.php")
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
Everything looks great! No dangerous files found in this plugin656 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 89 | 84 | 598 |
CSS | 1 | 10 | 2 | 58 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.20 |
▷ 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 | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 20.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/juist-blauw.png | 6.27KB | 3.17KB | ▼ 49.52% |
assets/images/juist-wit.png | 12.79KB | 4.97KB | ▼ 61.18% |