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.54MB] [CPU: ▲3.63ms] Passed 4 tests
An overview of server-side resources used by Simple Link Directory
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.49 | 40.72 ▼0.55 |
Dashboard /wp-admin | 3.90 ▲0.59 | 51.62 ▲1.18 |
Posts /wp-admin/edit.php | 3.96 ▲0.60 | 54.33 ▲5.59 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.55 | 101.95 ▲8.76 |
Media Library /wp-admin/upload.php | 3.77 ▲0.54 | 43.48 ▲8.30 |
AddOns /wp-admin/edit.php?post_type=sld&page=sld-addons-page | 4.13 | 40.36 |
List Categories /wp-admin/edit-tags.php?taxonomy=sld_cat&post_type=sld | 3.76 | 40.49 |
Support /wp-admin/edit.php?post_type=sld&page=qcopd_sld_supports | 4.10 | 38.89 |
New List /wp-admin/post-new.php?post_type=sld | 4.24 | 62.32 |
Settings /wp-admin/edit.php?post_type=sld&page=sld_settings | 4.10 | 44.86 |
Manage List Items /wp-admin/edit.php?post_type=sld | 4.17 | 44.19 |
Import /wp-admin/edit.php?post_type=sld&page=qcopd_bimport_page | 4.10 | 37.13 |
Server storage [IO: ▲10.93MB] [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: 339 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
qc_sld_rating_active_time |
widget_recent-posts |
sld_ot_convrt |
db_upgraded |
hclpage |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Link Directory
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲195 | 13.46 ▼0.85 | 7.15 ▲5.43 | 29.04 ▼16.23 |
Dashboard /wp-admin | 2,253 ▲72 | 5.74 ▲0.03 | 96.52 ▼10.15 | 83.41 ▲41.01 |
Posts /wp-admin/edit.php | 2,176 ▲76 | 2.23 ▲0.09 | 36.81 ▼2.49 | 36.15 ▲1.16 |
Add New Post /wp-admin/post-new.php | 6,263 ▲4,737 | 18.99 ▼4.22 | 826.62 ▲227.25 | 36.68 ▼16.86 |
Media Library /wp-admin/upload.php | 1,467 ▲64 | 4.37 ▲0.17 | 97.91 ▲1.91 | 77.77 ▲34.86 |
AddOns /wp-admin/edit.php?post_type=sld&page=sld-addons-page | 1,366 | 2.21 | 41.85 | 113.09 |
List Categories /wp-admin/edit-tags.php?taxonomy=sld_cat&post_type=sld | 1,352 | 1.81 | 30.62 | 35.72 |
Support /wp-admin/edit.php?post_type=sld&page=qcopd_sld_supports | 1,746 | 2.40 | 51.45 | 81.35 |
New List /wp-admin/post-new.php?post_type=sld | 2,365 | 4.72 | 115.84 | 115.70 |
Settings /wp-admin/edit.php?post_type=sld&page=sld_settings | 1,861 | 2.43 | 46.69 | 55.78 |
Manage List Items /wp-admin/edit.php?post_type=sld | 1,338 | 2.26 | 49.74 | 40.37 |
Import /wp-admin/edit.php?post_type=sld&page=qcopd_bimport_page | 1,149 | 2.19 | 42.70 | 42.87 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- hclpage
- db_upgraded
- qc_sld_rating_active_time
- widget_recent-comments
- sld_ot_convrt
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% 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 0% 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 fix the following items
- 8× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/simple-link-directory/qc-op-directory-assets.php
- > /wp-content/plugins/simple-link-directory/qc-opd-setting-options.php
- > /wp-content/plugins/simple-link-directory/qc-op-directory-shortcodes.php
- > /wp-content/plugins/simple-link-directory/qc-opd-ajax-stuffs.php
- > /wp-content/plugins/simple-link-directory/qc-op-directory-post-type.php
- > /wp-content/plugins/simple-link-directory/qc-op-directory-import.php
- > /wp-content/plugins/simple-link-directory/qc-op-directory-main.php
- > /wp-content/plugins/simple-link-directory/qcopd-shortcode-generator.php
- 17× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/simple-link-directory/templates/style-3/template.php:1
- > PHP Warning
Use of undefined constant QCOPD_IMG_URL - assumed 'QCOPD_IMG_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/simple-link-directory/qc-rating-feature/qc-rating-class.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/simple-link-directory/modules/addons/addons.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-link-directory/embed/embedder.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/simple-link-directory/embed/qcopd-embed-link.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/simple-link-directory/inc/cmb/custom-meta-boxes.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/simple-link-directory/qc-support-promo-page/class-qc-support-promo-page.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/simple-link-directory/modules/addons/admin_ui2.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/simple-link-directory/templates/style-4/template.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/simple-link-directory/templates/style-2/template.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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 listing, link library, listings, directory, listing directory
simple-link-directory/qc-op-directory-main.php 77% from 13 tests
Analyzing the main PHP file in "Simple Link Directory" version 8.0.8
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 154 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("simple-link-directory.php" instead of "qc-op-directory-main.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 plugin43,454 lines of code in 161 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 39 | 1,248 | 331 | 21,761 |
JSON | 8 | 0 | 0 | 7,055 |
JavaScript | 70 | 1,696 | 1,668 | 6,718 |
PHP | 33 | 1,804 | 723 | 5,032 |
SVG | 5 | 1 | 0 | 2,703 |
Markdown | 2 | 35 | 0 | 89 |
Bourne Shell | 1 | 24 | 0 | 55 |
Sass | 3 | 4 | 1 | 41 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 9.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 1 | 3.45% |
▷ Concrete classes | 28 | 96.55% |
▷ Final classes | 0 | 0.00% |
Methods | 139 | |
▷ Static methods | 2 | 1.44% |
▷ Public methods | 134 | 96.40% |
▷ Protected methods | 1 | 0.72% |
▷ Private methods | 4 | 2.88% |
Functions | 63 | |
▷ Named functions | 63 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 100.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
89 PNG files occupy 2.60MB with 1.65MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
qc-support-promo-page/images/slider-hero-icon-256x256.png | 71.55KB | 20.25KB | ▼ 71.70% |
qc-support-promo-page/images/button-menu.png | 63.58KB | 17.49KB | ▼ 72.49% |
inc/cmb/css/vendor/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
qc-support-promo-page/images/highlight.png | 16.86KB | 6.57KB | ▼ 61.02% |
qc-support-promo-page/images/feature02.png | 5.13KB | 2.39KB | ▼ 53.37% |