Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▲1.37ms] Passed 4 tests
A check of server-side resources used by rng-isuc
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 46.95 ▲5.00 |
Dashboard /wp-admin | 3.33 ▲0.03 | 52.93 ▼4.65 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 57.89 ▲11.39 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 94.45 ▲1.93 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.23 ▲3.21 |
Last posts viewed /wp-admin/options-general.php?page=isuc-settings | 3.25 | 35.27 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 8 new options
New WordPress options |
---|
isuc_configration_dissmiss |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_uc-post-viewed |
Browser metrics Passed 4 tests
This is an overview of browser requirements for rng-isuc
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,968 ▲182 | 13.81 ▼0.54 | 10.39 ▲7.80 | 46.90 ▼2.92 |
Dashboard /wp-admin | 2,207 ▲33 | 5.64 ▼0.03 | 85.05 ▼17.47 | 42.06 ▼2.98 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 2.02 ▲0.06 | 40.90 ▲4.68 | 37.73 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.21 ▼0.35 | 635.25 ▼21.00 | 57.21 ▲5.10 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.22 ▲0.06 | 96.42 ▼5.44 | 45.08 ▲2.07 |
Last posts viewed /wp-admin/options-general.php?page=isuc-settings | 892 | 2.00 | 22.98 | 31.93 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_uc-post-viewed
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 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 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 just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: recent post viewed, post viewed, rng
rng-isuc/rng-isuc.php Passed 13 tests
The principal PHP file in "rng-isuc" v. 1.0 is loaded by WordPress automatically on each request
116 characters long description:
WordPress Plugin that shows last post viewed by user in several viewes like widget, shortcode and sidebar navigation
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
Success! There were no dangerous files found in this plugin968 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 95 | 205 | 589 |
CSS | 1 | 40 | 7 | 230 |
PO File | 1 | 34 | 37 | 92 |
Markdown | 1 | 10 | 0 | 31 |
SVG | 1 | 0 | 0 | 14 |
JavaScript | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 14.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 38 | 97.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.56% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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