Benchmarks
Plugin footprint 58% 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
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/simplified-content/businessobjects/SCBrowserDetector.php+36
Methods with the same name as their class will not be constructors in a future version of PHP; SCBrowserDetector has a deprecated constructor
Server metrics [RAM: ▼0.20MB] [CPU: ▼25.18ms] Passed 4 tests
This is a short check of server-side resources used by Simplified Content
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 40.46 ▼0.94 |
Dashboard /wp-admin | 3.16 ▼0.19 | 30.15 ▼41.61 |
Posts /wp-admin/edit.php | 3.23 ▼0.13 | 35.34 ▼12.88 |
Add New Post /wp-admin/post-new.php | 5.47 ▼0.42 | 70.59 ▼34.81 |
Media Library /wp-admin/upload.php | 3.18 ▼0.05 | 26.33 ▼11.41 |
Simplified Content /wp-admin/options-general.php?page=lb-admin | 3.14 | 29.76 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 81 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Simplified Content
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.34 ▲0.07 | 1.62 ▼0.36 | 43.01 ▼1.24 |
Dashboard /wp-admin | 2,196 ▲19 | 5.62 ▲0.01 | 93.71 ▼3.10 | 37.77 ▼4.77 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 2.02 ▲0.02 | 38.90 ▲0.31 | 34.89 ▼0.59 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.10 ▲4.85 | 639.19 ▼49.23 | 53.93 ▼16.47 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.12 ▼0.10 | 101.55 ▲3.90 | 42.83 ▼5.03 |
Simplified Content /wp-admin/options-general.php?page=lb-admin | 974 | 2.13 | 24.31 | 31.08 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=lb-admin
- > Notice in wp-content/plugins/simplified-content/ooawpframework/businessobjects/plugins/OOAWPPluginOptionsPage.php+84
Only variables should be passed by reference
- > GET request to /wp-admin/options-general.php?page=lb-admin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=lb-admin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=lb-admin
- > Notice in /tmp/OTLPARSERJXXIC+16
Undefined index: sitemap-page-id
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
Almost there! Just fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/simplified-content/views/default-header.php
- > /wp-content/plugins/simplified-content/views/default-footer.php
- 262× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
include_once(OOA_CORE_ROOT/transfer/framework/ServiceMethodDescriptor.php): failed to open stream: No such file or directory in wp-content/plugins/simplified-content/ooawpframework/ooacore/transfer/framework/ServiceDescriptor.php on line 4
- > PHP Warning
Use of undefined constant OOA_CORE_ROOT - assumed 'OOA_CORE_ROOT' (this will throw an Error in a future version of PHP) in wp-content/plugins/simplified-content/ooawpframework/ooacore/transfer/framework/ServiceDispatcher.php on line 7
- > PHP Warning
include_once(): Failed opening 'OOA_CORE_ROOT/transfer/framework/FormatToObjectConverter.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/simplified-content/ooawpframework/ooacore/transfer/framework/ServiceDispatcher.php on line 6
- > PHP Warning
Use of undefined constant OOAWPFRAMEWORK_ROOT - assumed 'OOAWPFRAMEWORK_ROOT' (this will throw an Error in a future version of PHP) in wp-content/plugins/simplified-content/ooawpframework/businessobjects/plugins/OOAWPPluginOptionsPage.php on line 4
- > PHP Warning
include_once(OOA_CORE_ROOT/common/util/ArrayUtils.php): failed to open stream: No such file or directory in wp-content/plugins/simplified-content/ooawpframework/ooacore/transfer/framework/ServiceDispatcher.php on line 5
- > PHP Warning
include_once(): Failed opening 'OOA_CORE_ROOT/transfer/json/JSONToObjectConverter.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/simplified-content/ooawpframework/businessobjects/ajax/OOAWPServiceDispatcher.php on line 3
- > PHP Warning
include_once(): Failed opening 'OOA_CORE_ROOT/transfer/framework/exception/NoServiceMethodSuppliedException.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/simplified-content/ooawpframework/ooacore/transfer/framework/ServiceDispatcher.php on line 12
- > PHP Warning
Use of undefined constant OOA_CORE_ROOT - assumed 'OOA_CORE_ROOT' (this will throw an Error in a future version of PHP) in wp-content/plugins/simplified-content/ooawpframework/ooacore/transfer/json/ObjectToJSONConverter.php on line 4
- > PHP Warning
include_once(OOA_CORE_ROOT/transfer/framework/exception/ServiceMethodNotFoundException.php): failed to open stream: No such file or directory in wp-content/plugins/simplified-content/ooawpframework/ooacore/transfer/framework/ServiceDispatcher.php on line 15
- > PHP Warning
include_once(): Failed opening 'OOAWPFRAMEWORK_ROOT/businessobjects/common/OOAModelAndView.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/simplified-content/ooawpframework/businessobjects/plugins/OOAWPPluginOptionsPage.php on line 3
- > PHP Warning
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 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: internet explorer, content, legacy browsers, simple navigation, ie 8...
simplified-content/simplified-content.php 85% from 13 tests
The principal PHP file in "Simplified Content" v. 1.0.1 is loaded by WordPress automatically on each request
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 208 characters long)
- Domain Path: The domain path folder does not exist ("/lang/")
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
Success! There were no dangerous files found in this plugin4,111 lines of code in 80 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 78 | 1,499 | 2,280 | 3,893 |
JavaScript | 2 | 108 | 97 | 218 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 9.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 163.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 69 | |
▷ Abstract classes | 5 | 7.25% |
▷ Concrete classes | 64 | 92.75% |
▷ Final classes | 0 | 0.00% |
Methods | 364 | |
▷ Static methods | 44 | 12.09% |
▷ Public methods | 283 | 77.75% |
▷ Protected methods | 46 | 12.64% |
▷ Private methods | 35 | 9.62% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 65 | |
▷ Global constants | 4 | 6.15% |
▷ Class constants | 61 | 93.85% |
▷ Public constants | 61 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin