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.08MB] [CPU: ▼4.71ms] Passed 4 tests
Analyzing server-side resources used by GlotPress Notify
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.76 ▼0.07 |
Dashboard /wp-admin | 3.39 ▲0.08 | 44.59 ▼9.25 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 45.16 ▲3.16 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 84.52 ▼12.11 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.13 ▲2.58 |
GlotPress Notify /wp-admin/admin.php?page=gpnotify | 3.27 | 54.08 |
Settings /wp-admin/admin.php?page=gpnotify-settings | 3.28 | 32.93 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
recovery_mode_email_last_sent |
Browser metrics Passed 4 tests
An overview of browser requirements for GlotPress Notify
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲81 | 13.71 ▼0.67 | 1.81 ▲0.12 | 38.96 ▼6.27 |
Dashboard /wp-admin | 2,227 ▲45 | 5.81 ▼0.06 | 95.42 ▼19.22 | 40.53 ▼1.26 |
Posts /wp-admin/edit.php | 2,113 ▲27 | 2.01 ▼0.05 | 35.26 ▼2.87 | 29.65 ▼1.31 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 17.52 ▼0.92 | 645.32 ▲24.02 | 61.10 ▲5.64 |
Media Library /wp-admin/upload.php | 1,418 ▲27 | 4.25 ▲0.08 | 97.23 ▼3.91 | 41.44 ▼2.74 |
GlotPress Notify /wp-admin/admin.php?page=gpnotify | 701 | 1.14 | 6.41 | 18.38 |
Settings /wp-admin/admin.php?page=gpnotify-settings | 827 | 2.19 | 25.30 | 26.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- recovery_mode_email_last_sent
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=gpnotify
- > Warning in wp-content/plugins/glotpress-notify/includes/class.GPNotifyPlugin.php+98
require(wp-content/plugins/glotpress-notify/views/admin-no-prefix.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=gpnotify
- > Compile error in wp-content/plugins/glotpress-notify/includes/class.GPNotifyPlugin.php+98
require(): Failed opening required 'wp-content/plugins/glotpress-notify/views/admin-no-prefix.php' (include_path='.:/usr/share/php')
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (settings), #2 (user settings for subscribing to projects), #3 (listing of projects with translations awaiting approval)
glotpress-notify/glotpress-notify.php Passed 13 tests
The main file in "GlotPress Notify" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
82 characters long description:
notify WordPress users when new GlotPress translations strings are awaiting review
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected609 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 179 | 199 | 599 |
Markdown | 1 | 2 | 0 | 10 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 9.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 4 | 12.90% |
▷ Public methods | 26 | 83.87% |
▷ Protected methods | 5 | 16.13% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
3 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 26.39KB | 14.58KB | ▼ 44.74% |
screenshot-2.png | 30.76KB | 16.08KB | ▼ 47.74% |
screenshot-1.png | 10.36KB | 5.95KB | ▼ 42.58% |