Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.97ms] Passed 4 tests
An overview of server-side resources used by Visual Chap
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.89 ▼2.20 |
Dashboard /wp-admin | 3.35 ▲0.00 | 48.78 ▼13.15 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.29 ▼4.02 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 92.66 ▼12.52 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.06 ▲0.72 |
Visual Chap /wp-admin/options-general.php?page=wikipedia-visual-chap-settings | 3.24 | 34.33 |
Server storage [IO: ▲1.50MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 15 new options
New WordPress options |
---|
wikipedia-visual-chap-options-icon-color |
wikipedia-visual-chap-options-words-filter |
widget_theysaidso_widget |
wikipedia-visual-chap-options-background-color |
wikipedia-visual-chap-options-dev |
wikipedia-visual-chap-options-link-color |
theysaidso_admin_options |
widget_recent-posts |
wikipedia-visual-chap-options-color |
wikipedia-visual-chap-options-wiki-donate |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Visual Chap
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.75 ▲0.40 | 1.89 ▲0.30 | 43.03 ▼3.37 |
Dashboard /wp-admin | 2,196 ▲16 | 5.58 ▼0.07 | 93.63 ▲4.70 | 43.41 ▲0.61 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.02 ▼0.00 | 40.25 ▼1.22 | 36.35 ▼0.23 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.22 ▲5.05 | 665.71 ▲38.86 | 60.81 ▼10.65 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.23 ▲0.05 | 99.56 ▼5.54 | 41.75 ▼8.82 |
Visual Chap /wp-admin/options-general.php?page=wikipedia-visual-chap-settings | 926 | 2.02 | 25.75 | 42.87 |
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 were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 50% 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
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/visual-chap/visual-chap.php
- > /wp-content/plugins/visual-chap/includes/wvc-html.php
- > /wp-content/plugins/visual-chap/uninstall.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=wikipedia-visual-chap-settings
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=wikipedia-visual-chap-settings 161 The specified value "#fff" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 96% from 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
6 plugin tags: images, jquery, ajax, search, content...
visual-chap/visual-chap.php 92% from 13 tests
The principal PHP file in "Visual Chap" v. 1.0.5 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
No dangerous file extensions were detected8,830 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 39 | 1 | 5,086 |
CSS | 4 | 55 | 59 | 2,686 |
JavaScript | 2 | 57 | 206 | 783 |
PHP | 3 | 67 | 149 | 275 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.68 |
▷ 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 | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 100.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
2 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/Visual_Chap_logo.png | 66.28KB | 26.88KB | ▼ 59.45% |
assets/img/y_power_logo.png | 10.67KB | 7.06KB | ▼ 33.83% |