Benchmarks
Plugin footprint 83% from 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: ▲0.34ms] Passed 4 tests
A check of server-side resources used by WoPo Notepad
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.72 ▲4.05 |
Dashboard /wp-admin | 3.32 ▲0.01 | 55.94 ▲8.52 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.29 ▲1.67 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.36 ▼0.42 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.04 ▼3.94 |
Server storage [IO: ▲5.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 50 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WoPo Notepad
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.20 ▼1.18 | 1.76 ▲0.08 | 46.41 ▲8.77 |
Dashboard /wp-admin | 2,209 ▲21 | 5.86 ▼0.04 | 99.06 ▼9.76 | 37.90 ▼5.22 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.04 | 33.75 ▼2.30 | 33.47 ▼1.12 |
Add New Post /wp-admin/post-new.php | 1,535 ▲2 | 23.06 ▼0.13 | 677.62 ▲32.71 | 55.06 ▲0.81 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.19 ▼0.01 | 98.56 ▲1.57 | 44.91 ▼0.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wopo-notepad/wopo-notepad.php:21
- > PHP Fatal error
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 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: web-app, app, html5, windows xp, online...
wopo-notepad/wopo-notepad.php 77% from 13 tests
Analyzing the main PHP file in "WoPo Notepad" version 1.0.0
Please take the time to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.6" instead of "5.2")
- Requires PHP: Required version must be the same as the one declared in readme.txt ("5.2.4" instead of "7.1")
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
Good job! No executable or dangerous file extensions detected25,867 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 25 | 2,842 | 7,521 | 24,388 |
CSS | 7 | 56 | 67 | 970 |
SVG | 1 | 0 | 0 | 278 |
HTML | 2 | 3 | 0 | 184 |
PHP | 1 | 4 | 14 | 39 |
Markdown | 1 | 8 | 0 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin