Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼140.98ms] Passed 4 tests
An overview of server-side resources used by Knovio-KnowledgeVision Embed
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 31.15 ▲3.74 |
Dashboard /wp-admin | 3.07 ▲0.01 | 45.24 ▲1.39 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 45.50 ▲2.50 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 94.18 ▼563.16 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 29.31 ▼4.63 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Knovio-KnowledgeVision Embed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,681 ▲85 | 15.92 ▲0.35 | 8.76 ▼0.69 | 48.91 ▲3.08 |
Dashboard /wp-admin | 2,970 ▲39 | 5.99 ▲0.01 | 130.32 ▼6.27 | 113.63 ▲10.50 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.02 | 62.48 ▼1.72 | 84.77 ▼4.32 |
Add New Post /wp-admin/post-new.php | 1,676 ▲176 | 18.87 ▲0.19 | 368.17 ▲4.09 | 101.52 ▼3.01 |
Media Library /wp-admin/upload.php | 1,804 ▼3 | 5.05 ▼0.00 | 145.49 ▲1.34 | 120.44 ▲4.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: video, presentations
knovio-knowledgevision-embed/knovio-knowledgevision-embed.php Passed 13 tests
The entry point to "Knovio-KnowledgeVision Embed" version 1.0.0 is a PHP file that has certain tags in its header comment area
120 characters long description:
This free plugin makes it easy to embed any Knovio or KnowledgeVision online presentation onto a WordPress page or post.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin93 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 26 | 54 | 93 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 5 | |
▷ Named functions | 2 | 40.00% |
▷ Anonymous functions | 3 | 60.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.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