Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.98MB] [CPU: ▼56.61ms] Passed 4 tests
This is a short check of server-side resources used by LiveCam + Timelapse for Wordpress and Android
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.46 | 5.86 ▼36.35 |
Dashboard /wp-admin | 2.07 ▼1.28 | 5.32 ▼52.73 |
Posts /wp-admin/edit.php | 2.07 ▼1.33 | 5.58 ▼45.45 |
Add New Post /wp-admin/post-new.php | 2.07 ▼3.86 | 5.14 ▼91.92 |
Media Library /wp-admin/upload.php | 2.07 ▼1.20 | 4.89 ▼31.94 |
Server storage [IO: ▲0.33MB] [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: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for LiveCam + Timelapse for Wordpress and Android
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲21 | 14.35 ▼0.31 | 2.01 ▲0.27 | 44.30 ▼1.83 |
Dashboard /wp-admin | 2,201 ▲27 | 5.57 ▼0.00 | 84.18 ▼0.46 | 38.12 ▼2.43 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.02 ▼0.01 | 33.98 ▼1.90 | 35.68 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 23.28 ▲0.24 | 633.64 ▼15.93 | 61.42 ▲9.53 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.25 ▲0.03 | 96.14 ▼3.52 | 44.79 ▼0.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the livecamjs handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/android-webcam-and-timelapse/livecam.vicbusiness.com.php:15
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== android-webcam-and-timelapse ===
)
android-webcam-and-timelapse/livecam.vicbusiness.com.php 85% from 13 tests
The entry point to "LiveCam + Timelapse for Wordpress and Android" version 1... is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "1...")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("android-webcam-and-timelapse.php" instead of "livecam.vicbusiness.com.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected4,180 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 1,042 | 2,685 | 3,522 |
CSS | 2 | 17 | 180 | 574 |
SVG | 1 | 0 | 0 | 65 |
PHP | 1 | 4 | 12 | 19 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin