-
Home
-
TinyPNG – JPEG, PNG & WebP image compression
-
3.6.0 (latest)
-
Code
-
Classes
- Tiny_Compress
Total Complexity |
39 |
Dependencies |
5 |
Dependents |
2 |
Total lines |
200 |
Lines of code |
131 |
Logical lines of code |
69 |
Comment lines |
10 |
Methods |
18 |
Properties |
1 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
compress_file() |
A |
44 |
10 |
48 |
needs_resize() |
S |
62 |
5 |
11 |
get_status() |
S |
53 |
4 |
24 |
compression_cost() |
S |
60 |
3 |
14 |
create() |
S |
61 |
3 |
13 |
call_after_compress_callback() |
S |
74 |
2 |
5 |
get_remaining_credits() |
S |
100 |
1 |
0 |
get_paying_state() |
S |
100 |
1 |
0 |
get_email_address() |
S |
100 |
1 |
0 |
get_key() |
S |
100 |
1 |
0 |
estimate_cost() |
S |
69 |
1 |
7 |
get_compression_count() |
S |
100 |
1 |
0 |
can_create_key() |
S |
100 |
1 |
0 |
validate() |
S |
100 |
1 |
0 |
compress() |
S |
100 |
1 |
0 |
identifier() |
S |
78 |
1 |
3 |
__construct() |
S |
81 |
1 |
3 |
limit_reached() |
S |
80 |
1 |
3 |