Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼9.08ms] Passed 4 tests
Server-side resources used by Janeman Core
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.09 ▼2.68 |
Dashboard /wp-admin | 3.31 ▼0.03 | 43.78 ▼14.69 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.32 ▼1.15 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.51 ▼17.81 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.84 ▼0.70 |
Server storage [IO: ▲0.61MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Janeman Core: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲92 | 14.72 ▲0.10 | 1.60 ▲0.13 | 42.21 ▼0.99 |
Dashboard /wp-admin | 2,262 ▲88 | 5.63 ▼0.01 | 85.25 ▼2.35 | 80.14 ▲35.57 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.03 ▲0.06 | 35.76 ▼0.47 | 37.20 ▲1.26 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 18.56 ▼4.55 | 644.30 ▲15.20 | 64.37 ▲4.37 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.15 ▼0.06 | 95.68 ▼7.82 | 40.27 ▼4.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- 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
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/janeman-core/janeman-core.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/janeman-core/include/theme-functions.php:23
- > 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)
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Requires at least: The plugin version is formatted incorrectly
janeman-core/janeman-core.php 77% from 13 tests
The main file in "Janeman Core" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
- Description: Please keep the plugin description shorter than 140 characters (currently 157 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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,727 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 213 | 28 | 2,240 |
PHP | 5 | 158 | 145 | 1,041 |
SVG | 3 | 1 | 1 | 395 |
JavaScript | 3 | 28 | 11 | 51 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 17.25 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 32 | |
▷ Static methods | 1 | 3.12% |
▷ Public methods | 26 | 81.25% |
▷ Protected methods | 6 | 18.75% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/cloud.png | 7.91KB | 4.13KB | ▼ 47.79% |