Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.22MB] [CPU: ▼50.60ms] Passed 4 tests
A check of server-side resources used by Wikiembedder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.75 ▼0.71 | 18.18 ▼25.23 |
Dashboard /wp-admin | 2.79 ▼0.51 | 15.25 ▼40.41 |
Posts /wp-admin/edit.php | 2.79 ▼0.56 | 15.97 ▼38.99 |
Add New Post /wp-admin/post-new.php | 2.79 ▼3.09 | 14.96 ▼97.78 |
Media Library /wp-admin/upload.php | 2.79 ▼0.44 | 14.62 ▼21.73 |
Wikiembedder /wp-admin/options-general.php?page=wikiembedder | 2.79 | 15.82 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
wikiurl |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Wikiembedder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲38 | 14.76 ▲0.60 | 1.79 ▼0.06 | 40.06 ▼6.43 |
Dashboard /wp-admin | 2,204 ▲33 | 5.62 ▼0.05 | 87.38 ▼3.43 | 38.09 ▼3.67 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 1.97 ▼0.08 | 39.71 ▼1.39 | 35.72 ▼0.98 |
Add New Post /wp-admin/post-new.php | 1,540 ▲10 | 18.27 ▼4.87 | 609.70 ▼70.96 | 63.84 ▲8.64 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 4.16 ▼0.03 | 99.66 ▼6.79 | 44.73 ▼0.25 |
Wikiembedder /wp-admin/options-general.php?page=wikiembedder | 772 | 1.99 | 23.85 | 27.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/wikiembedder/wikiembedder.php+38
Undefined property: wikiembedder::$version
- Zombie WordPress options detected upon uninstall: 7 options
- wikiurl
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=wikiembedder
- > Notice in wp-content/plugins/wikiembedder/wikiembedder.php+38
Undefined property: wikiembedder::$version
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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wikiembedder/wikiembedder.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wikiembedder/admin_menu.php:2
- > 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 issues were found
Optimizations
Plugin configuration Passed 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
3 plugin tags: wiki, embed, mediawiki
wikiembedder/wikiembedder.php Passed 13 tests
This is the main PHP file of "Wikiembedder" version 0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
109 characters long description:
Embed MediaWiki in a wordpress site and allow users to navigate the wiki without leaving your wordpress page.
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
Everything looks great! No dangerous files found in this plugin163 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 17 | 38 | 133 |
CSS | 1 | 8 | 10 | 30 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin