Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.85MB] [CPU: ▼34.45ms] Passed 4 tests
This is a short check of server-side resources used by Footer Links Commando
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 44.27 ▲2.23 |
Dashboard /wp-admin | 3.09 ▼0.21 | 23.24 ▼32.54 |
Posts /wp-admin/edit.php | 3.09 ▼0.26 | 23.72 ▼29.35 |
Add New Post /wp-admin/post-new.php | 3.09 ▼2.79 | 30.25 ▼64.57 |
Media Library /wp-admin/upload.php | 3.09 ▼0.13 | 26.26 ▼11.33 |
Server storage [IO: ▲2.10MB] [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: 109 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Footer Links Commando
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲66 | 13.46 ▼0.53 | 2.06 ▼0.05 | 47.11 ▲2.36 |
Dashboard /wp-admin | 2,221 ▲33 | 4.89 ▼1.02 | 102.89 ▼15.06 | 38.45 ▼9.22 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.14 ▲0.17 | 34.33 ▼2.73 | 37.35 ▲0.83 |
Add New Post /wp-admin/post-new.php | 1,524 ▼9 | 17.60 ▼5.44 | 689.49 ▼0.43 | 60.51 ▲4.14 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.26 ▲0.03 | 103.20 ▲2.53 | 46.95 ▼1.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5453
Function add_object_page is deprecated since version 4.5.0! Use add_menu_page() instead.
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
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)
Everything seems fine, however this is by no means an exhaustive test
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
- 22× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
require_once(wp-content/plugins/footer-links-commando/oo/Db.php): failed to open stream: No such file or directory in wp-content/plugins/footer-links-commando/oo/FLC.php on line 3
- > PHP Notice
Undefined index: edit in wp-content/plugins/footer-links-commando/views/edit-link.php on line 2
- > PHP Fatal error
Uncaught Error: Call to a member function get_option() on null in wp-content/plugins/footer-links-commando/views/footer.php:3
- > PHP Notice
Undefined index: edit in wp-content/plugins/footer-links-commando/views/edit-section.php on line 2
- > PHP Notice
Undefined index: anchor in wp-content/plugins/footer-links-commando/views/add-link.php on line 7
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/footer-links-commando/views/add-section.php:7
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/footer-links-commando/views/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_status() in wp-content/plugins/footer-links-commando/views/metabox.php:3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/footer-links-commando/oo/FLCSectionsTable.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/footer-links-commando/oo/FLCLinksTable.php on line 3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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
Attributes that need to be fixed:
- Screenshots: A description for screenshot #7 is missing in footer-links-commando/assets to your readme.txt
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== footer-links-commando ===
)
footer-links-commando/footer-links-commando.php 92% from 13 tests
The main PHP file in "Footer Links Commando" ver. 1.0.3 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: If Twitter did it, so should we! Keep the description under 140 characters (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin12,116 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 12 | 164 | 261 | 8,139 |
JavaScript | 6 | 574 | 266 | 2,281 |
PHP | 16 | 58 | 66 | 1,467 |
SVG | 1 | 0 | 0 | 229 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 15.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 3.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 46 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
33 PNG files occupy 0.23MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) views/images/scribd.png | 2.85KB | 0.00KB | ▼ 100.00% |
(invalid) views/images/tumblr.png | 2.08KB | 0.00KB | ▼ 100.00% |
views/images/wikispaces.png | 1.78KB | 1.08KB | ▼ 39.20% |
(invalid) views/images/stumbleupon.png | 2.71KB | 0.00KB | ▼ 100.00% |
views/images/soup.png | 7.54KB | 3.89KB | ▼ 48.45% |