Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/simple-history-ngg-loggers/simple-history-ngg-loggers.php+39
Non-static method Simple_History_Ngg_Loggers_Activator::activate() should not be called statically
Server metrics [RAM: ▲0.27MB] [CPU: ▼5.81ms] Passed 4 tests
An overview of server-side resources used by Simple History NGG Loggers
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 43.43 ▲2.29 |
Dashboard /wp-admin | 3.57 ▲0.27 | 52.62 ▲2.95 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 48.86 ▼3.38 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.29 | 87.70 ▼24.57 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 41.39 ▲2.41 |
Simple History NGG Loggers /wp-admin/options-general.php?page=simple_history_ngg_loggers | 3.44 | 31.86 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
hr_NGL_settings |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Simple History NGG Loggers
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲140 | 13.39 ▼0.96 | 8.48 ▲6.72 | 41.52 ▼2.54 |
Dashboard /wp-admin | 2,203 ▲26 | 5.65 ▲0.02 | 88.49 ▼6.84 | 38.88 ▼1.46 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 1.98 ▼0.02 | 41.18 ▲1.68 | 35.31 ▼4.13 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.59 ▲0.34 | 611.49 ▼49.42 | 68.26 ▲10.44 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.15 ▼0.04 | 95.98 ▼0.94 | 41.36 ▼9.80 |
Simple History NGG Loggers /wp-admin/options-general.php?page=simple_history_ngg_loggers | 980 | 2.17 | 25.13 | 43.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- hr_NGL_settings
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=simple_history_ngg_loggers
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/nextgen-gallery): failed to open dir: No such file or directory
- > GET request to /wp-admin/options-general.php?page=simple_history_ngg_loggers
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/simple-history): failed to open dir: No such file or directory
- > GET request to /wp-admin/options-general.php?page=simple_history_ngg_loggers
- > Notice in wp-content/plugins/simple-history-ngg-loggers/admin/class-simple-history-ngg-loggers-admin.php+980
Undefined index: edit_post
SRP 50% from 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
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/simple-history-ngg-loggers/public/partials/simple-history-ngg-loggers-public-display.php
- > /wp-content/plugins/simple-history-ngg-loggers/admin/partials/simple-history-ngg-loggers-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: nextgen gallery, image description, custom loggers, simple history, image title...
simple-history-ngg-loggers/simple-history-ngg-loggers.php 92% from 13 tests
The entry point to "Simple History NGG Loggers" version 1.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 171 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,151 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 290 | 767 | 864 |
PO File | 1 | 102 | 245 | 271 |
CSS | 2 | 2 | 8 | 10 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 13.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 1 | 2.27% |
▷ Public methods | 39 | 88.64% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.36% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin