Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼1.08MB] [CPU: ▼40.43ms] Passed 4 tests
Analyzing server-side resources used by Manage Calameo Publications by Athlon
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▼0.57 | 16.81 ▼25.70 |
Dashboard /wp-admin | 2.93 ▼0.37 | 26.49 ▼29.14 |
Posts /wp-admin/edit.php | 2.93 ▼0.42 | 17.72 ▼32.36 |
Add New Post /wp-admin/post-new.php | 2.93 ▼2.95 | 18.07 ▼74.51 |
Media Library /wp-admin/upload.php | 2.93 ▼0.30 | 17.00 ▼23.11 |
Calameo Credentials /wp-admin/options-general.php?page=calameo_credentials | 2.93 | 18.63 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_calameo_publications |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
AthlonManageCalameoPublications_db_version |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Manage Calameo Publications by Athlon
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.18 ▼0.10 | 1.85 ▼0.22 | 44.28 ▼2.38 |
Dashboard /wp-admin | 2,203 ▲29 | 5.64 ▼0.02 | 100.34 ▲3.24 | 45.01 ▲2.27 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.99 ▼0.07 | 34.62 ▼3.08 | 32.32 ▼4.20 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.80 ▲0.80 | 651.92 ▼57.91 | 51.91 ▼2.34 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.23 ▲0.09 | 104.42 ▲3.60 | 44.75 ▲0.28 |
Calameo Credentials /wp-admin/options-general.php?page=calameo_credentials | 952 | 2.04 | 24.31 | 26.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method AthlonCalameoRegisterFunctions::ath_add_calameo_button() should not be called statically
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- AthlonManageCalameoPublications_db_version
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=calameo_credentials
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method AthlonCalameoRegisterFunctions::ath_add_calameo_button() should not be called statically
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=calameo_credentials
- > Warning in wp-content/plugins/athlon-manage-calameo-publications/settings/register-settings.php+17
Use of undefined constant ASSETS_JAVASCRIPTS_IN_FOOTER - assumed 'ASSETS_JAVASCRIPTS_IN_FOOTER' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/options-general.php?page=calameo_credentials
- > Notice in wp-content/plugins/athlon-manage-calameo-publications/settings/register-settings.php+173
Undefined variable: calameo_credentials
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=calameo_credentials
- > Notice in wp-content/plugins/athlon-manage-calameo-publications/settings/register-settings.php+94
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=calameo_credentials
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method AthlonCalameoRegisterFunctions::ath_wp_calameo_not_installed_warning() should not be called statically
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
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/athlon-manage-calameo-publications/thickbox_content.php
- > /wp-content/plugins/athlon-manage-calameo-publications/assets/js/libs/calameo_dialog.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'AthlonCalameoManageConfiguration' not found in wp-content/plugins/athlon-manage-calameo-publications/settings/register-settings.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/athlon-manage-calameo-publications/functions.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/athlon-manage-calameo-publications/athlon-manage-calameo-publications.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/athlon-manage-calameo-publications/post_types/media.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: documents preview, calameo viewer, publication, share document, embed documents...
athlon-manage-calameo-publications/athlon-manage-calameo-publications.php Passed 13 tests
The primary PHP file in "Manage Calameo Publications by Athlon" version 1.1.1 is used by WordPress to initiate all plugin functionality
112 characters long description:
Tool for management and embedding various types of documents and present them in a custom styled Calameo viewer.
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 detected1,983 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 133 | 115 | 1,466 |
JavaScript | 8 | 38 | 2 | 391 |
CSS | 1 | 15 | 0 | 91 |
XML | 1 | 0 | 0 | 35 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 16.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 10 | 38.46% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin