Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- Install procedure had errors
- > User deprecated in wp-includes/functions.php+5747
Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
Server metrics [RAM: ▼1.91MB] [CPU: ▼52.36ms] Passed 4 tests
Server-side resources used by Revisioner
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 5.93 ▼39.07 |
Dashboard /wp-admin | 2.10 ▼1.21 | 7.41 ▼46.32 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 7.17 ▼37.88 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 6.72 ▼86.17 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 6.53 ▼30.53 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
revisioner_options |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Revisioner: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.23 ▼1.35 | 1.92 ▼0.12 | 43.81 ▼1.66 |
Dashboard /wp-admin | 2,213 ▲28 | 4.85 ▼0.95 | 96.50 ▼7.13 | 38.64 ▼1.72 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.04 | 34.32 ▼8.11 | 35.04 ▼3.27 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.25 ▼0.25 | 654.50 ▼91.12 | 54.57 ▼7.98 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.23 ▲0.02 | 111.09 ▲2.83 | 47.35 ▼1.13 |
Revisioner /wp-admin/revisioner.php | 26 | 0.44 | 0.10 | 15.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5747
Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- revisioner_options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/revisioner/revisioner.php:35
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/revisioner.php
- > Network (severe)
wp-admin/revisioner.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: wordpress, revisions, pages, posts
revisioner/revisioner.php 92% from 13 tests
"Revisioner" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 283 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin100 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 51 | 30 | 100 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There are no PNG files in this plugin