Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.24MB] [CPU: ▼2.43ms] Passed 4 tests
Analyzing server-side resources used by WP Links Page
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.27 | 36.66 ▼4.23 |
Dashboard /wp-admin | 3.55 ▲0.21 | 55.73 ▼5.76 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 52.80 ▲7.36 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 86.05 ▼1.94 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 36.93 ▲2.22 |
All Links /wp-admin/edit.php?post_type=wplp_link | 3.53 | 38.64 |
Add New /wp-admin/post-new.php?post_type=wplp_link | 3.60 | 47.31 |
Shortcode /wp-admin/edit.php?post_type=wplp_link&page=wplf_subpage3-menu | 3.45 | 31.29 |
Help /wp-admin/edit.php?post_type=wplp_link&page=wplf_subpage2-menu | 3.44 | 31.21 |
Settings /wp-admin/edit.php?post_type=wplp_link&page=wplf_subpage-menu | 3.48 | 35.79 |
Server storage [IO: ▲1.92MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
wplp_screenshot_refresh |
wplp_apikey |
can_compress_scripts |
db_upgraded |
wplp_screenshot_size |
Browser metrics Passed 4 tests
A check of browser resources used by WP Links Page
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲70 | 14.35 ▲0.21 | 1.67 ▼0.07 | 44.13 ▼0.80 |
Dashboard /wp-admin | 2,237 ▲60 | 5.57 ▼0.10 | 88.77 ▼2.92 | 38.85 ▼7.20 |
Posts /wp-admin/edit.php | 2,136 ▲39 | 2.03 ▲0.03 | 35.35 ▼3.36 | 35.02 ▲1.37 |
Add New Post /wp-admin/post-new.php | 1,558 ▲28 | 23.76 ▲0.68 | 651.36 ▼16.44 | 55.95 ▼0.23 |
Media Library /wp-admin/upload.php | 1,439 ▲42 | 4.18 ▲0.06 | 100.51 ▼2.87 | 41.69 ▼4.68 |
All Links /wp-admin/edit.php?post_type=wplp_link | 1,131 | 2.23 | 39.98 | 30.17 |
Add New /wp-admin/post-new.php?post_type=wplp_link | 2,351 | 7.70 | 189.38 | 139.92 |
Shortcode /wp-admin/edit.php?post_type=wplp_link&page=wplf_subpage3-menu | 1,266 | 1.94 | 26.09 | 42.11 |
Help /wp-admin/edit.php?post_type=wplp_link&page=wplf_subpage2-menu | 1,177 | 1.99 | 23.94 | 36.67 |
Settings /wp-admin/edit.php?post_type=wplp_link&page=wplf_subpage-menu | 1,098 | 3.17 | 41.97 | 26.07 |
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
- Zombie WordPress options were found after uninstall: 9 options
- wplp_screenshot_refresh
- wplp_screenshot_size
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- wplp_apikey
- theysaidso_admin_options
- db_upgraded
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/wp-links-page/wp-links-page-free.php:18
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/wp-links-page/wp-links-page-free.php on line 13
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-links-page/wp-links-page-free.php on line 13
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-links-page/wp-links-page-free.php on line 13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Requires at least: The plugin version is formatted incorrectly
wp-links-page/wp-links-page-free.php 92% from 13 tests
Analyzing the main PHP file in "WP Links Page" version 4.9.5
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-links-page.php" instead of "wp-links-page-free.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
Success! There were no dangerous files found in this plugin4,697 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 90 | 56 | 2,615 |
PHP | 1 | 285 | 95 | 1,251 |
JavaScript | 4 | 108 | 21 | 469 |
SVG | 1 | 0 | 0 | 362 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 42 | |
▷ Named functions | 40 | 95.24% |
▷ Anonymous functions | 2 | 4.76% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin