Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.08ms] Passed 4 tests
Server-side resources used by Apply with LinkedIn buttons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.74 ▼6.01 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.09 ▼1.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 50.88 ▲1.10 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.83 ▼16.95 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.17 ▲0.64 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
applywithlinkedin_divstyling |
applywithlinkedin_apidebug |
widget_recent-posts |
db_upgraded |
applywithlinkedin_apikey |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Apply with LinkedIn buttons
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.20 ▼1.18 | 1.62 ▼0.27 | 43.59 ▼3.14 |
Dashboard /wp-admin | 2,207 ▲19 | 5.77 ▲0.90 | 96.83 ▼9.05 | 40.73 ▼1.77 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.03 | 40.43 ▼0.31 | 35.14 ▼1.16 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 17.57 ▼0.60 | 689.42 ▲23.27 | 58.90 ▲0.70 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.18 ▲0.05 | 97.05 ▼15.79 | 43.51 ▼4.63 |
Apply with LinkedIn /wp-admin/applywithlinkedin.php | 26 | 0.44 | 0.10 | 14.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 50% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/apply-with-linkedin-buttons/applywithlinkedin.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/applywithlinkedin.php
- > Network (severe)
wp-admin/applywithlinkedin.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (Overview of the admin options page) image missing
apply-with-linkedin-buttons/applywithlinkedin.php 92% from 13 tests
The entry point to "Apply with LinkedIn buttons" version 2.3 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("apply-with-linkedin-buttons.php" instead of "applywithlinkedin.php")
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
Everything looks great! No dangerous files found in this plugin165 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 14 | 28 | 165 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 7 | |
▷ Named functions | 7 | 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.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 24.45KB | 11.54KB | ▼ 52.78% |