Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼1.21ms] Passed 4 tests
Server-side resources used by Wikilookup
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 41.42 ▲3.22 |
Dashboard /wp-admin | 3.46 ▲0.15 | 51.79 ▼0.02 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 46.39 ▼6.15 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 89.82 ▼1.88 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 39.85 ▲6.53 |
Wikilookup /wp-admin/admin.php?page=wikilookup-settings | 3.36 | 35.75 |
Display settings /wp-admin/admin.php?page=wikilookup-settings-display | 3.36 | 34.15 |
External wikis /wp-admin/admin.php?page=wikilookup-settings-sources | 3.36 | 31.99 |
General settings /wp-admin/admin.php?page=wikilookup-settings-main | 3.36 | 31.36 |
Server storage [IO: ▲1.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Wikilookup
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,006 ▲271 | 17.04 ▲2.67 | 10.64 ▲8.74 | 45.05 ▼3.20 |
Dashboard /wp-admin | 2,283 ▲98 | 7.45 ▲2.55 | 192.92 ▲88.66 | 39.57 ▼4.83 |
Posts /wp-admin/edit.php | 2,141 ▲52 | 6.61 ▲4.56 | 56.07 ▲15.94 | 29.40 ▼8.51 |
Add New Post /wp-admin/post-new.php | 6,373 ▲4,859 | 26.93 ▲9.52 | 802.30 ▲135.47 | 41.79 ▼10.89 |
Media Library /wp-admin/upload.php | 1,481 ▲93 | 8.78 ▲4.62 | 114.27 ▲16.43 | 44.22 ▲1.25 |
Wikilookup /wp-admin/admin.php?page=wikilookup-settings | 1,098 | 6.43 | 56.87 | 33.44 |
Display settings /wp-admin/admin.php?page=wikilookup-settings-display | 1,203 | 6.44 | 52.17 | 39.38 |
External wikis /wp-admin/admin.php?page=wikilookup-settings-sources | 1,028 | 6.52 | 59.83 | 32.48 |
General settings /wp-admin/admin.php?page=wikilookup-settings-main | 937 | 6.54 | 49.87 | 24.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wikilookup-settings-main
- > Notice in wp-content/plugins/wikilookup/views/_admin_header.php+6
Undefined index: wl_notice
SRP 0% 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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wikilookup/views/_admin_footer.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wikilookup/views/admin_wikilookup_display.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wikilookup/views/_admin_header.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wikilookup/views/admin_wikilookup_sources.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wikilookup/views/admin_wikilookup_main.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wikilookup/views/admin_wikilookup_general_info.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=wikilookup-settings
- > Network (severe)
wp-content/plugins/wikilookup/assets/admin/settings-main.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Donate link: Invalid url: ""
wikilookup/wikilookup.php Passed 13 tests
The main PHP script in "Wikilookup" version 1.1.5 is automatically included on every request by WordPress
67 characters long description:
Add content from Wikipedia and other wikis into your WordPress blog
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected2,040 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 174 | 228 | 1,206 |
JavaScript | 7 | 72 | 61 | 503 |
PO File | 1 | 66 | 71 | 220 |
CSS | 4 | 18 | 12 | 110 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 10.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 14 | 25.45% |
▷ Public methods | 45 | 81.82% |
▷ Protected methods | 9 | 16.36% |
▷ Private methods | 1 | 1.82% |
Functions | 8 | |
▷ Named functions | 2 | 25.00% |
▷ Anonymous functions | 6 | 75.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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 files were detected