Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.15MB] [CPU: ▼10.19ms] Passed 4 tests
A check of server-side resources used by GoQMieruca
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.10 ▼2.56 |
Dashboard /wp-admin | 3.22 ▼0.09 | 32.21 ▼17.57 |
Posts /wp-admin/edit.php | 3.28 ▼0.08 | 34.89 ▼9.33 |
Add New Post /wp-admin/post-new.php | 5.46 ▼0.42 | 74.40 ▼11.15 |
Media Library /wp-admin/upload.php | 3.22 ▼0.01 | 32.63 ▼2.72 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
gqm_system_setting |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for GoQMieruca
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 13.57 ▼0.73 | 1.93 ▲0.07 | 43.72 ▼3.12 |
Dashboard /wp-admin | 2,220 ▲32 | 5.87 ▼0.02 | 109.24 ▼18.67 | 77.77 ▲32.62 |
Posts /wp-admin/edit.php | 2,082 ▼7 | 2.01 ▼0.02 | 37.74 ▲0.96 | 32.14 ▼2.13 |
Add New Post /wp-admin/post-new.php | 1,525 ▼9 | 23.37 ▲0.34 | 692.37 ▲57.01 | 53.31 ▲0.75 |
Media Library /wp-admin/upload.php | 1,399 ▲8 | 4.22 ▲0.04 | 97.69 ▼4.75 | 69.74 ▲27.52 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- theysaidso_admin_options
- gqm_system_setting
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
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
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/goqmieruca/goqmieruca.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/goqmieruca/goqmieruca.php:14
- > PHP Fatal error
Uncaught Error: Class 'GOQMIERUCA_Admin_Page' not found in wp-content/plugins/goqmieruca/admin/class-admin-setting.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/goqmieruca/admin/views/system-setting.php:2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
3 plugin tags: ma, goqmieruca, marketing automation
goqmieruca/goqmieruca.php Passed 13 tests
The main PHP file in "GoQMieruca" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
96 characters long description:
あなたのサイトをだれがどこをどのくらいどう見たのかを「みえる化」
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin594 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 132 | 184 | 478 |
CSS | 2 | 3 | 0 | 116 |
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.25 |
Average class complexity | 10.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 47 | |
▷ Static methods | 10 | 21.28% |
▷ Public methods | 40 | 85.11% |
▷ Protected methods | 1 | 2.13% |
▷ Private methods | 6 | 12.77% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.11MB with 0.07MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/img_complete.png | 55.58KB | 17.47KB | ▼ 68.57% |
admin/assets/images/logo.png | 7.17KB | 3.74KB | ▼ 47.88% |
admin/assets/images/icon-goqmieruca.png | 2.10KB | 0.58KB | ▼ 72.49% |
admin/assets/images/img_capture_01.png | 51.81KB | 16.35KB | ▼ 68.44% |