Benchmarks
Plugin footprint 48% 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 gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.38ms] Passed 4 tests
Server-side resources used by WP Lynx
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.38 ▲0.68 |
Dashboard /wp-admin | 3.37 ▲0.02 | 52.03 ▼11.53 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 48.71 ▼2.37 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 91.86 ▼12.80 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.93 ▼2.82 |
WP Lynx /wp-admin/options-general.php?page=wp-lynx | 3.27 | 35.43 |
Server storage [IO: ▲0.21MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
llynx_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Lynx
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.75 ▲0.37 | 1.95 ▲0.34 | 41.55 ▲0.57 |
Dashboard /wp-admin | 2,196 ▲16 | 5.56 ▼0.14 | 83.39 ▼8.74 | 39.28 ▼5.86 |
Posts /wp-admin/edit.php | 2,101 ▲4 | 2.06 ▲0.01 | 39.75 ▲0.19 | 35.53 ▼4.99 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 17.62 ▲0.09 | 683.99 ▲40.67 | 57.75 ▲9.07 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.31 ▲0.07 | 103.73 ▲0.80 | 47.28 ▲1.45 |
WP Lynx /wp-admin/options-general.php?page=wp-lynx | 1,465 | 2.22 | 40.65 | 50.98 |
Uninstaller [IO: ▲0.21MB] [DB: ▲0.07MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attentionThis plugin did not uninstall successfully, leaving 8 options in the database
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/wp-lynx/uninstall.php+24
require_once(wp-content/plugins/wp-lynx/includes/class.mtekk_adminkit_uninstaller.php): failed to open stream: No such file or directory
- This plugin has failed uninstalling correctly, leaving 45 files (0.21MB) in the plugin directory
- (new file) class.pdf_helpers.php
- (new file) .project
- (new file) includes/adminKit/assets/mtekk_adminkit_tabs.css
- (new file) class.llynx_admin.php
- (new file) .gitignore
- (new file) class.llynx_scrape.php
- (new file) includes/adminKit/assets/mtekk_adminkit_messages.js
- (new file) includes/adminKit/assets/mtekk_adminkit_messages.min.js
- (new file) includes/adminKit/assets/mtekk_adminkit_engroups.js
- (new file) includes/adminKit/assets/mtekk_adminkit_engroups.min.js
- ...
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- llynx_options
- widget_recent-posts
- recovery_mode_email_last_sent
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/wp-lynx/includes/class.mtekk_adminkit_uninstaller.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-lynx/uninstall.php on line 24
- > PHP Warning
require_once(wp-content/plugins/wp-lynx/includes/class.mtekk_adminkit_uninstaller.php): failed to open stream: No such file or directory in wp-content/plugins/wp-lynx/uninstall.php on line 24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: links, post, facebook, posts, open graph
wp-lynx/wp_lynx.php 85% from 13 tests
The main PHP file in "WP Lynx" ver. 1.3.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-lynx.php" instead of "wp_lynx.php")
- Description: Keep the plugin description shorter than 140 characters (currently 175 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected3,768 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 96 | 1,680 | 3,207 |
JavaScript | 7 | 19 | 37 | 458 |
CSS | 6 | 0 | 2 | 79 |
XML | 1 | 0 | 0 | 24 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 15.59 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 117.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 4 | 19.05% |
▷ Concrete classes | 17 | 80.95% |
▷ Final classes | 0 | 0.00% |
Methods | 200 | |
▷ Static methods | 10 | 5.00% |
▷ Public methods | 194 | 97.00% |
▷ Protected methods | 3 | 1.50% |
▷ Private methods | 3 | 1.50% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
Constants | 9 | |
▷ Global constants | 1 | 11.11% |
▷ Class constants | 8 | 88.89% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
llynx.png | 0.62KB | 0.61KB | ▼ 1.57% |