Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.23ms] Passed 4 tests
Server-side resources used by RevPress - Easily add Subscribe with Google from Google's Reader Revenue Manager to your site!
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 53.34 ▲18.97 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.47 ▲3.12 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.83 ▲7.22 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 100.67 ▼4.41 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 30.87 ▼6.85 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for RevPress - Easily add Subscribe with Google from Google's Reader Revenue Manager to your site!
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 14.76 ▲0.39 | 1.95 ▲0.25 | 45.36 ▲5.80 |
Dashboard /wp-admin | 2,203 ▲11 | 5.79 ▲0.84 | 98.25 ▼20.87 | 38.94 ▼8.15 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.06 | 35.30 ▼3.33 | 44.05 ▲10.25 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 20.48 ▼3.09 | 695.30 ▼30.98 | 48.19 ▼23.15 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.25 ▼0.03 | 141.31 ▲11.20 | 61.18 ▲4.77 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, 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
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/revpress/views/inc-page-footer.php
- > /wp-content/plugins/revpress/views/inc-sidebar.php
- > /wp-content/plugins/revpress/views/page-guide.php
- > /wp-content/plugins/revpress/views/snippet-template.php
- 21× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/revpress/revpress.php:21
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/revpress/revpress.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/revpress/views/page-settings.php:3
- > PHP Warning
include(): Failed opening 'RPP_PLUGIN_DIRviews/inc-page-footer.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/revpress/views/page-guide.php on line 126
- > PHP Warning
Use of undefined constant RPP_PLUGIN_DIR - assumed 'RPP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/revpress/views/page-settings.php on line 1
- > PHP Warning
Use of undefined constant RPP_PLUGIN_DIR - assumed 'RPP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/revpress/views/page-guide.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/revpress/views/inc-page-header.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/revpress/views/inc-snippet-form.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/revpress/views/skip-cache.php:2
- > PHP Warning
include(RPP_PLUGIN_DIRviews/inc-page-header.php): failed to open stream: No such file or directory in wp-content/plugins/revpress/views/page-settings.php on line 1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: subscribe with google, google, reader revenue manager, publisher, center...
revpress/revpress.php Passed 13 tests
The principal PHP file in "RevPress - Easily add Subscribe with Google from Google's Reader Revenue Manager to your site!" v. 1.1.4 is loaded by WordPress automatically on each request
79 characters long description:
Provides management and makes it easy to add Subscribe with Google to your site
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected2,810 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 232 | 232 | 1,111 |
SVG | 2 | 0 | 0 | 1,008 |
CSS | 1 | 111 | 2 | 689 |
JavaScript | 2 | 0 | 2 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 24.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 5.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.76% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 9 | 81.82% |
▷ Class constants | 2 | 18.18% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin