Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/wordable/includes/wordable_plugin.php+263
Trying to get property 'cache_updated_at' of non-object
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.69ms] Passed 4 tests
An overview of server-side resources used by Wordable - Export Google Docs to WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 40.08 ▼1.09 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.90 ▼5.51 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 49.33 ▼3.59 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 93.00 ▼12.57 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.43 ▲1.30 |
Wordable /wp-admin/options-general.php?page=wordable-plugin | 3.28 | 495.90 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 28 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wordable |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Wordable - Export Google Docs to WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲114 | 13.57 ▼0.71 | 1.82 ▼0.05 | 42.25 ▼0.70 |
Dashboard /wp-admin | 2,254 ▲66 | 4.90 ▼0.16 | 103.89 ▼16.59 | 69.99 ▲24.13 |
Posts /wp-admin/edit.php | 2,154 ▲65 | 2.01 ▼0.03 | 39.07 ▲3.02 | 35.47 ▲3.45 |
Add New Post /wp-admin/post-new.php | 1,567 ▲53 | 23.27 ▲5.77 | 700.54 ▲19.06 | 59.32 ▲0.77 |
Media Library /wp-admin/upload.php | 1,451 ▲66 | 4.31 ▲0.10 | 100.86 ▼2.57 | 74.11 ▲27.89 |
Wordable /wp-admin/options-general.php?page=wordable-plugin | 967 | 2.29 | 33.62 | 55.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_wordable
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
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 0% 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
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wordable/settings/views/_category_tree_node.php
- 16× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wordable/includes/wordable_plugin.php:12
- > PHP Fatal error
Uncaught Error: Class 'WordablePlugin' not found in wp-content/plugins/wordable/settings/index.php:3
- > PHP Notice
Undefined variable: categories_tree in wp-content/plugins/wordable/settings/views/_category_tree_node.php on line 2
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/wordable/settings/views/_category_tree_node.php on line 3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wordable/settings/views/authors.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wordable/settings/views/categories.php:1
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/wordable/settings/views/_category_tree_node.php on line 2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wordable/settings/views/index.php:5
- > PHP Warning
array_slice() expects parameter 1 to be array, null given in wp-content/plugins/wordable/settings/views/_category_tree_node.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WordablePlugin' not found in wp-content/plugins/wordable/includes/activator.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: posts, pages
wordable/wordable.php 92% from 13 tests
The principal PHP file in "Wordable - Export Google Docs to WordPress" v. 8.2.6 is loaded by WordPress automatically on each request
It is important to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("5.0.0" instead of "5.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin3,241 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 77 | 250 | 2,334 |
PHP | 15 | 205 | 20 | 843 |
SVG | 4 | 0 | 0 | 45 |
JavaScript | 2 | 2 | 38 | 19 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 13.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 73 | |
▷ Static methods | 12 | 16.44% |
▷ Public methods | 73 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
settings/images/logo.png | 4.75KB | 2.83KB | ▼ 40.44% |