Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼3.86ms] Passed 4 tests
Analyzing server-side resources used by Pagelog
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 38.57 ▼1.51 |
Dashboard /wp-admin | 3.47 ▲0.17 | 51.70 ▼1.87 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 55.12 ▼0.42 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 97.01 ▼11.64 |
Media Library /wp-admin/upload.php | 3.39 ▲0.17 | 40.28 ▲3.46 |
Page Log /wp-admin/tools.php?page=pagelog | 3.36 | 40.83 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_pagelog |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
pagelog_last_tab |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Pagelog: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.00 | 1.73 ▲0.07 | 42.53 ▲5.01 |
Dashboard /wp-admin | 2,196 ▲19 | 5.60 ▼0.06 | 92.09 ▼6.38 | 37.79 ▼6.33 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.03 ▲0.07 | 38.70 ▼5.28 | 35.14 ▼1.72 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.28 ▲0.08 | 611.73 ▼11.32 | 54.71 ▼3.22 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.15 ▼0.15 | 98.70 ▲0.29 | 42.53 ▼1.57 |
Page Log /wp-admin/tools.php?page=pagelog | 1,009 | 2.17 | 28.50 | 31.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_pagelog
- This plugin did not uninstall successfully, leaving 7 options in the database
- pagelog_last_tab
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/pagelog/pagelog.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/pagelog/pagelog.php:38
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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: admin tool, logging, page
pagelog/pagelog.php Passed 13 tests
The main file in "Pagelog" v. 1.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
23 characters long description:
Registers all pageloads
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 detected1,183 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 133 | 66 | 1,095 |
PO File | 1 | 32 | 33 | 88 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
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 | 18 | |
▷ Named functions | 18 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin