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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.27ms] Passed 4 tests
Analyzing server-side resources used by WP Easy Directory Link
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.66 ▼3.89 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.76 ▼1.43 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.62 ▼3.34 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 96.59 ▼4.43 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.41 ▲0.34 |
All Links /wp-admin/link-manager.php | 3.27 | 37.01 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 3.24 | 35.69 |
Add New /wp-admin/link-add.php | 3.23 | 37.09 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_links |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Easy Directory Link
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 13.57 ▼0.85 | 4.80 ▲2.99 | 45.03 ▲0.23 |
Dashboard /wp-admin | 2,237 ▲46 | 5.90 ▲1.03 | 129.31 ▲27.25 | 41.92 ▼2.79 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.00 ▼0.06 | 34.99 ▼2.34 | 33.30 ▼0.44 |
Add New Post /wp-admin/post-new.php | 1,561 ▲42 | 23.26 ▲0.14 | 687.35 ▲58.16 | 49.84 ▼5.21 |
Media Library /wp-admin/upload.php | 1,416 ▲28 | 4.18 ▼0.06 | 105.10 ▲2.36 | 45.57 ▼4.03 |
All Links /wp-admin/link-manager.php | 1,056 | 1.69 | 24.13 | 30.50 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 1,296 | 2.13 | 27.65 | 30.97 |
Add New /wp-admin/link-add.php | 1,647 | 2.26 | 47.84 | 37.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_links
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-easy-directory-link/wp-easy-directory-link.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: directory, links, easy, listing, simple
wp-easy-directory-link/wp-easy-directory-link.php 92% from 13 tests
The main PHP script in "WP Easy Directory Link" version 1.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 148 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected101 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 15 | 60 | 67 |
PO File | 2 | 4 | 4 | 34 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 3 | |
▷ Named functions | 3 | 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
No PNG images were found in this plugin